Changeset 1191

Show
Ignore:
Timestamp:
07/01/08 17:00:26 (6 months ago)
Author:
kovit
Message:

Add'Delete Comment'

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/views/shared/_delete_comment.html.erb

    r1072 r1191  
    1212      <% end -%> 
    1313    </div> 
    14      
    15     <div id="show-the-comment"> 
    16       <p> 
    17         <%= link_to _("show the comment") + ' &raquo;', '#', :onclick => "Element.show('the-comment'); Element.hide('show-the-comment'); Element.show('hide-the-comment'); return false;" %> 
    18       </p> 
    19     </div> 
    20     <div id="hide-the-comment" style="display: none;"> 
    21       <p> 
    22         <%= link_to '&laquo; ' + _("hide the comment"), '#', :onclick => "Element.hide('the-comment'); Element.hide('hide-the-comment'); Element.show('show-the-comment'); return false;" %> 
    23       </p> 
    24     </div> 
    25     <div id="the-comment" style="display: none;"> 
     14    <div id="the-comment"> 
    2615      <%= render :partial => "comment/comment_item", :locals => { :comment => @comment, :used_by_owner => false } %> 
    2716    </div>