Ignore:
Timestamp:
Aug 20, 2009, 10:53:16 AM (14 years ago)
Author:
Nicklas Nordborg
Message:

References #108: Logging the change history of an item

  • Enabled logging for experiments
  • Added "Change history" tab to experiments, plugin configuration and protocol
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/experiments/bioassaysets/list_bioassaysets.jsp

    r4889 r5069  
    4949  import="net.sf.basedb.util.Tree"
    5050  import="net.sf.basedb.clients.web.Base"
     51  import="net.sf.basedb.clients.web.ChangeHistoryUtil"
    5152  import="net.sf.basedb.clients.web.ModeInfo"
    5253  import="net.sf.basedb.clients.web.util.HTML"
     
    205206    function switchTab(tabControlId, tabId)
    206207    {
    207       if (tabId == 'properties' || tabId == 'overview')
     208      if (tabId == 'properties' || tabId == 'overview' || tabId == 'history')
    208209      {
    209210        location.href = '../index.jsp?ID=<%=ID%>&cmd=ViewItem&item_id=<%=experimentId%>&tab='+tabId;
     
    242243    <t:tab id="overview" title="Overview"
    243244      tooltip="Display a tree overview of related items" />
     245    <t:tab id="history" title="Change history"
     246      tooltip="Displays a log of all modifications made to this item"
     247      visible="<%=ChangeHistoryUtil.showChangeHistoryTab(sc)%>" />
    244248    </t:tabcontrol>
    245249
Note: See TracChangeset for help on using the changeset viewer.