• 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 @@
 %QUERYPARAMS%
 <input type="submit" value='%_{"Edit Anyway"}%' />
 </form>
+%_{"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%

SVN:7366

WN

twikibuilder@ubuntu:~/twiki/DEVELOP/templates$ svn diff oopsleaseconflict.tmpl
Index: oopsleaseconflict.tmpl
===================================================================
--- oopsleaseconflict.tmpl      (revision 7363)
+++ oopsleaseconflict.tmpl      (working copy)
@@ -28,6 +28,7 @@
 %TMPL:END%
 %TMPL:DEF{"topicaction"}%
 [[%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">
 %QUERYPARAMS%
 <input type="submit" value='%_{"Try Again"}%' />

SVN:7370

WN

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

Priority Enhancement
CurrentState Closed
WaitingFor

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-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback