public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
add preview link

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2151 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Sun Sep 10 20:50:15 -0700 2006
commit  c59b7f882b866665fd5c34d2bb2ffde3d5a84cf4
tree    d317f06481f42c9e695ca59f1ce26e89b0776973
parent  c56fca728745def8fc0981837769051f231be965
...
3
4
5
 
 
 
6
7
8
...
3
4
5
6
7
8
9
10
11
0
@@ -3,6 +3,9 @@
0
 <div id="page-nav">
0
   <ul id="act-nav" class="clear">
0
     <li><%= link_to_remote 'Delete this article', :url => {:action => 'destroy', :id => @article}, :confirm => 'Are you sure you want to delete this article?' %></li>
0
+ <% if controller.action_name == 'edit' -%>
0
+ <li><%= link_to('Preview', {:action => 'show', :id => @article}, {:target => '_blank'}) %></li>
0
+ <% end -%>
0
     <li id="select">
0
       <a class="trigger" id="cog" href="#">&nbsp;</a>
0
       <div id="optgroup" style="display: none">

Comments

    No one has commented yet.