ソースを参照

Fix Staff part when description missing

master
コミット
8cdf304265
2個のファイルの変更2行の追加40行の削除
  1. +2
    -1
      jm2l/templates/Staff/list.mako
  2. +0
    -39
      jm2l/templates/helpers.mako

+ 2
- 1
jm2l/templates/Staff/list.mako ファイルの表示

@@ -25,8 +25,9 @@ from slugify import slugify
<i class="icon-pencil icon-white"></i> Editer le pôle
</a>
<h4>${Entity.name}</h4>
% if Entity.description:
<div>${Entity.description | n}</div>
% endif
<table width="100%" class="table table-striped table-bordered table-hover">
<thead>
<tr>


+ 0
- 39
jm2l/templates/helpers.mako ファイルの表示

@@ -244,45 +244,6 @@ TabJs = {'select':[], 'desc':[]}
</tr>
{% } %}
</script>
%if 1:
##<script src="/vendor/fileupload/js/jquery-uploader.min.js"></script>
##<script src="/js/main.js"></script>
plop
% else:
<script src="/static/jquery.min.js"></script>
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
<script src="/static/js/vendor/jquery.ui.widget.js"></script>
<!-- The Templates plugin is included to render the upload/download listings -->
<script src="/static/js/tmpl.min.js"></script>
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
<script src="/static/js/load-image.all.min.js"></script>
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
<script src="/static/js/canvas-to-blob.min.js"></script>
<!-- Bootstrap JS is not required, but included for the responsive demo navigation -->
<script src="/static/bootstrap.min.js"></script>
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
<script src="/static/js/jquery.iframe-transport.js"></script>
<!-- The basic File Upload plugin -->
<script src="/static/js/jquery.fileupload.js"></script>
<!-- The File Upload processing plugin -->
<script src="/static/js/jquery.fileupload-process.js"></script>
<!-- The File Upload image preview & resize plugin -->
<script src="/static/js/jquery.fileupload-image.js"></script>
<!-- The File Upload audio preview plugin -->
<script src="/static/js/jquery.fileupload-audio.js"></script>
<!-- The File Upload video preview plugin -->
<script src="/static/js/jquery.fileupload-video.js"></script>
<!-- The File Upload validation plugin -->
<script src="/static/js/jquery.fileupload-validate.js"></script>
<!-- The File Upload user interface plugin -->
<script src="/static/js/jquery.fileupload-ui.js"></script>
<!-- The main application script -->
<script src="/static/js/main.js"></script>
<!-- The XDomainRequest Transport is included for cross-domain file deletion for IE 8 and IE 9 -->
<!--[if (gte IE 8)&(lt IE 10)]>
<script src="/static/js/cors/jquery.xdr-transport.js"></script>
<![endif]-->
% endif
</%def> \
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
## Wrapper pour les intervention utilisateur


読み込み中…
キャンセル
保存