fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-10-31 10:16 am

[dw-free] Revamp /update

[commit: http://hg.dwscoalition.org/dw-free/rev/7e25481481b4]

http://bugs.dwscoalition.org/show_bug.cgi?id=2524

Add link back to Create Entries page from the entry options page (which only
goes to a separate page when JS is turned off)

Patch by [personal profile] fu.

Files modified:
  • views/entry/options.tt
  • views/entry/options.tt.text
--------------------------------------------------------------------------------
diff -r 42ca88afc4ea -r 7e25481481b4 views/entry/options.tt
--- a/views/entry/options.tt	Mon Oct 31 18:10:52 2011 +0800
+++ b/views/entry/options.tt	Mon Oct 31 18:17:03 2011 +0800
@@ -115,4 +115,6 @@
 <script type="text/javascript" src="[%site.jsroot%]/jquery/jquery.ui.sortable.min.js"></script>
 
 <script type="text/javascript" src="[%site.jsroot%]/jquery.postoptions.js"></script>
+[%- ELSE -%]
+    <p><a href="[%site.root%]/entry/new">[% ".back" | ml %]</a></p>
 [%- END -%]
diff -r 42ca88afc4ea -r 7e25481481b4 views/entry/options.tt.text
--- a/views/entry/options.tt.text	Mon Oct 31 18:10:52 2011 +0800
+++ b/views/entry/options.tt.text	Mon Oct 31 18:17:03 2011 +0800
@@ -2,6 +2,8 @@
 
 .animations.label=Use minimal animations for the panels as they expand/collapse
 
+.back=Return to Create Entries pages
+
 .error.header=Error
 
 .panels.header=Show panels
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org