diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-09 19:33:36 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-09 19:33:36 -0500 |
commit | ee38739d3b681f7d9fb61b650368d08e290a46bb (patch) | |
tree | 65c88de11dd5c766e100fe3bcd4aad344e771186 /forum/templates/revisions_question.html | |
parent | 7575e18525c9eb0ac12e7a30b1c1a22de5a2efd5 (diff) | |
download | askbot-ee38739d3b681f7d9fb61b650368d08e290a46bb.tar.gz askbot-ee38739d3b681f7d9fb61b650368d08e290a46bb.tar.bz2 askbot-ee38739d3b681f7d9fb61b650368d08e290a46bb.zip |
moved templates/content --> forum/media, templates --> forum/templates, fixed up urls
Diffstat (limited to 'forum/templates/revisions_question.html')
-rw-r--r-- | forum/templates/revisions_question.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/forum/templates/revisions_question.html b/forum/templates/revisions_question.html index e945c6d6..86d52a36 100644 --- a/forum/templates/revisions_question.html +++ b/forum/templates/revisions_question.html @@ -7,8 +7,8 @@ {% load humanize %} {% block title %}{% spaceless %}{% trans "Revision history" %}{% endspaceless %}{% endblock %} {% block forejs %} - <script type='text/javascript' src='{% media "/content/js/com.cnprog.editor.js" %}'></script> - <script type='text/javascript' src='{% media "/content/js/com.cnprog.post.js" %}'></script> + <script type='text/javascript' src='{% media "/media/js/com.cnprog.editor.js" %}'></script> + <script type='text/javascript' src='{% media "/media/js/com.cnprog.post.js" %}'></script> <script type="text/javascript"> //todo - take this out into .js file $().ready(function(){ @@ -25,7 +25,7 @@ var arrow = $("#rev-arrow-" + id); var visible = arrow.attr("src").indexOf("hide") > -1; - var path = $.i18n._('/') + "content/images/expander-arrow-" + + var path = $.i18n._('/') + "media/images/expander-arrow-" + (visible ? "show" : "hide") + ".gif" + "?v={{settings.RESOURCE_REVISION}}"; arrow.attr("src", path); $("#rev-body-" + id).slideToggle("fast"); @@ -46,7 +46,7 @@ <table width="100%"> <tr> <td width="20" style="vertical-align:middle"><img id="rev-arrow-{{ revision.revision }}" - src="{% media "/content/images/expander-arrow-show.gif" %}" + src="{% media "/media/images/expander-arrow-show.gif" %}" alt="{% trans "click to hide/show revision" %}"/> </td> <td width="30px" style="vertical-align:middle"><span class="revision-number" title="{% trans "revision" %} {{ revision.revision }}">{{ revision.revision }}</span></td> |