Ignore:
Timestamp:
28/04/09 12:14:47 (11 years ago)
Author:
cbyrom
Message:

Add functionality to allow admin users to add new provider info +
restrict deletion of info to admin users + add basic input checking
to ensure provider name is specified as a minimum.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/trunk/OAIInfoEditor/oai_info_editor/templates/provider_info.html

    r5229 r5235  
    2929                        <a href="${'%s%s' %(c.editLink, record.name)}" onclick="Div_show('loading');">Edit</a> 
    3030                        </td> 
    31                         <td> 
     31                        <td py:if="c.user.isAdmin"> 
    3232                        <a href="${'%s%s' %(c.deleteLink, record.name)}" onclick="Div_show('loading');">Delete</a> 
    3333                        </td> 
     34                        <td py:if="not c.user.isAdmin" /> 
    3435                </span> 
    3536                <span py:if="not editLink"><td /><td /></span> 
Note: See TracChangeset for help on using the changeset viewer.