浏览代码

Display pre content and post content

Denis K 9 年之前
父节点
当前提交
3adc75e031
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      jet/dashboard/templates/jet.dashboard/module.html

+ 2 - 0
jet/dashboard/templates/jet.dashboard/module.html

@@ -26,6 +26,7 @@
     </div>
 
     <div class="dashboard-item-content{% if module.contrast %} contrast{% endif %}"{% if module.style %} style="{{ module.style }}"{% endif %}>
+        {{ module.pre_contenta|default_if_none:"" }}
         {% if module.ajax_load %}
             <div class="loading-indicator-wrapper">
                 <span class="icon-refresh loading-indicator"></span>
@@ -33,5 +34,6 @@
         {% else %}
             {{ module.render }}
         {% endif %}
+        {{ module.post_content|default_if_none:"" }}
     </div>
 </div>