1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-08 21:18:00 +03:00

Removed jade test

This commit is contained in:
Adolfo Gómez 2014-03-17 15:33:33 +00:00
parent 095f21204d
commit 366d340fd4
3 changed files with 3 additions and 17 deletions

View File

@ -45,7 +45,6 @@
<script src="{% url 'uds.web.views.jsCatalog' LANGUAGE_CODE %}"></script>
{% compress js %}
<script src="{% get_static_prefix %}adm/js/jquery-2.0.3.min.js"></script>
<script>
@ -61,7 +60,8 @@
};
}(window.api = window.api || {}, jQuery));
</script>
{% compress js %}
<!-- minified js from: 'jquery.cookie', 'bootstrap.min', 'bootstrap-switch.min', 'bootstrap-select.min', 'jquery.validate.min', 'jquery.blockUI', 'flot',
'jquery.dataTables.min', 'TableTools.min', 'Blob', 'FileSaver', 'ZeroClipboard', 'dataTables.bootstrap', 'handlebars-v1.1.2', UDS admin JS's -->
<script src="{% get_static_prefix %}adm/js/jquery.cookie.js"></script>

View File

@ -1,14 +0,0 @@
extends "uds/html5/templates/base.html"
- load i18n
block body
div.panel.panel-info
div.panel-heading
- trans "Downloads"
div.panel-body
p
- trans "This page contains a list of downloadables provided by different modules"
div.list-group
for f in files
a.list-group-item(href!="{% url "uds.web.views.download" idDownload=f.id %}")
h4.list-group-item-heading: f.name
p.list-group-item-text: {{ f.comment|safe }}

View File

@ -447,7 +447,7 @@ def download(request, idDownload):
if idDownload == '':
files = [{'id': key, 'name': val['name'], 'comment': _(val['comment'])} for key, val in DownloadsManager.manager().getDownloadables().items()]
logger.debug('Files: {0}'.format(files))
return render_to_response(theme.template('downloads.jade'), {'files': files}, context_instance=RequestContext(request))
return render_to_response(theme.template('downloads.html'), {'files': files}, context_instance=RequestContext(request))
return DownloadsManager.manager().send(request, idDownload)