Ignore:
Timestamp:
Oct 1, 2015, 2:29:38 PM (6 years ago)
Author:
Nicklas Nordborg
Message:

References #1941: Store experimental factor values as part experiments

Using a different "Edit" icon for cloned annotations that are out-of-sync.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/common/annotations/list_annotations.jsp

    r6939 r6962  
    510510              String description = HTML.encodeTags(at.getDescription());
    511511              Date lastModified = a.getThisLastUpdate();
    512               boolean isUpToDate = true;
     512              boolean isUpToDate = a.isUpToDate();
    513513             
    514514              // Which item are we inheriting from?
     
    522522                {
    523523                  lastModified = from.getThisLastUpdate();
    524                 }
    525                 else
    526                 {
    527                   isUpToDate = !lastModified.before(from.getThisLastUpdate());
    528524                }
    529525                try
     
    557553                  <%=values == null || values.size() == 0 ?
    558554                    "<i>- no values -</i>" : Values.getString(values, ", ", true, formatter)%>
    559                   <base:icon image="edit.png" subclass="edit-annotation auto-init link"
     555                  <base:icon image="<%=isUpToDate ? "edit.png" : "edit-outofsync.png"%>"
     556                    subclass="edit-annotation auto-init link"
    560557                    data-auto-init="edit-annotation"
    561558                    data-annotation="<%= a.getThisAnnotationId()%>"
Note: See TracChangeset for help on using the changeset viewer.