• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

If you hit a lease you get a warning with the option to try again, edit anyway or go back to view.

A user might just want to look at the source, so a link to view the raw text would be helpful.

-- PTh

twikibuilder@ubuntu:~/twiki/DEVELOP/templates$ svn diff oopsleaseconflict.pattern.tmpl
Index: oopsleaseconflict.pattern.tmpl
--- oopsleaseconflict.pattern.tmpl      (revision 7363)
+++ oopsleaseconflict.pattern.tmpl      (working copy)
@@ -12,4 +12,5 @@
 <input type="submit" value='%_{"Edit Anyway"}%' />
+%_{"or"}% <a href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?raw=on">%_{"View raw text without formatting"}%</a>
 %_{"or"}% [[%WEB%.%TOPIC%][%_{"View topic"}%]]</span></div>%TMPL:END%



twikibuilder@ubuntu:~/twiki/DEVELOP/templates$ svn diff oopsleaseconflict.tmpl
Index: oopsleaseconflict.tmpl
--- oopsleaseconflict.tmpl      (revision 7363)
+++ oopsleaseconflict.tmpl      (working copy)
@@ -28,6 +28,7 @@
 [[%WEB%.%TOPIC%][%_{"View topic"}%]] %TMPL:P{"sep"}%
+<a href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?raw=on">View raw text without formatting</a> %TMPL:P{"sep"}%
 <form action="%SCRIPTURL%/edit%SCRIPTSUFFIX%/%WEB%/%TOPIC%" method="post">
 <input type="submit" value='%_{"Try Again"}%' />



Summary Usability: View raw needed in lease warning screen
ReportedBy PeterThoeny
AppliesTo Engine

Priority Enhancement
CurrentState Closed

Checkins 7366 7370
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2005-11-08 - WillNorris
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback