Changeset 7808


Ignore:
Timestamp:
May 19, 2020, 8:10:34 AM (3 years ago)
Author:
Nicklas Nordborg
Message:

References #2206: Display information about item list membership

Added "Owner" column to the table with item lists.

Display "n/a" in the "Last synced" column if the item list doens't have any sync filters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.16-stable/www/common/itemlists/list_membership.jsp

    r7798 r7808  
    105105          />
    106106          <tbl:columndef
     107            id="owner"
     108            title="Owner"
     109          />
     110          <tbl:columndef
    107111            id="lastSync"
    108112            title="Last sync"
     
    150154                  %>
    151155                </tbl:cell>
     156                <tbl:cell column="owner"><base:propertyvalue item="<%=list%>" property="owner" /></tbl:cell>
    152157                <tbl:cell column="lastSync">
    153                   <%=list.getSyncDate() == null ? "<i>never</i>" : timeFormatter.format(list.getSyncDate())%>
     158                  <%=list.hasSyncFilters() ? (list.getSyncDate() == null ? "<i>never</i>" : timeFormatter.format(list.getSyncDate())) : "<i>n/a</i>" %>
    154159                </tbl:cell>
    155160                <tbl:cell column="size"><%=list.getSize() %></tbl:cell>
Note: See TracChangeset for help on using the changeset viewer.