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/overview/info.jsp

    r6939 r6962  
    449449                // Inheritance information
    450450                Date lastModified = snapshot.getThisLastUpdate();
    451                 boolean isUpToDate = true;
     451                boolean isUpToDate = snapshot.isUpToDate();
    452452                AnnotationSnapshot inherited = snapshot.getInheritedFrom();
    453453                Annotatable inheritedFrom = null;
     
    457457                  {
    458458                    lastModified = inherited.getThisLastUpdate();
    459                   }
    460                   else
    461                   {
    462                     isUpToDate = !lastModified.before(inherited.getThisLastUpdate());
    463459                  }
    464460                  try
     
    481477                    <%=Values.getString(values, ", ", true, formatter)%>
    482478                    <base:icon id="<%=Integer.toString(snapshot.getThisAnnotationId())%>"
    483                       image="edit.png" subclass="edit-annotation auto-init" data-auto-init="edit-annotation"
     479                      image="<%=isUpToDate ? "edit.png" : "edit-outofsync.png"%>"
     480                      subclass="edit-annotation auto-init"
     481                      data-auto-init="edit-annotation"
    484482                      data-item-type="<%=annotatable.getType().name()%>"
    485483                      data-item-id="<%=annotatable.getId()%>"
Note: See TracChangeset for help on using the changeset viewer.