Show
Ignore:
Timestamp:
07/24/08 16:24:13 (20 months ago)
Author:
JensDiemer
Message:

add some JavaScript? confirm dialogs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid/media/PyLucid/internal_page/blog/display_blog.html

    r1713 r1714  
    1919        {% endif %} 
    2020        {% if entry.delete_url %} 
    21             <a href="{{ entry.delete_url }}" title="delete this blog entry">delete</a> 
     21            <a href="{{ entry.delete_url }}" title="delete this blog entry" onClick="return confirm('{% trans 'Do you really want to delete the entry?' %}');">{% trans 'delete' %}</a> 
    2222        {% endif %} 
    2323        </div> 
     
    6161                      <div class="admin_links"> 
    6262                        {% if comment.edit_url %}<a href="{{ comment.edit_url }}">edit</a>{% endif %} 
    63                         {% if comment.delete_url %}<a href="{{ comment.delete_url }}" onClick="return confirm('Realy want to delete the comment entry?');">delete</a>{% endif %} 
     63                        {% if comment.delete_url %}<a href="{{ comment.delete_url }}" onClick="return confirm('{% trans 'Do you really want to delete the entry?' %}');">{% trans 'delete' %}</a>{% endif %} 
    6464                      </div> 
    6565