Changeset 3a7bfd2


Ignore:
Timestamp:
Sep 24, 2014 1:44:55 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
edb8590
Parents:
36fdb4ee
Message:

snark: Don't enable sort-by-remaining link when complete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    r36fdb4ee r3a7bfd2  
    29002900            buf.append("</a>");
    29012901        buf.append("</th>\n<th class=\"headerstatus\">");
    2902         if (showSort) {
     2902        boolean showRemainingSort = showSort && showPriority;
     2903        if (showRemainingSort) {
    29032904            sort = ("10".equals(sortParam)) ? "-10" : "10";
    29042905            buf.append("<a href=\"").append(base)
     
    29072908        tx = _("Status");
    29082909        toThemeImg(buf, "status", tx,
    2909                    showSort ? _("Sort by {0}", _("Remaining")) : tx);
    2910         if (showSort)
     2910                   showRemainingSort ? _("Sort by {0}", _("Remaining")) : tx);
     2911        if (showRemainingSort)
    29112912            buf.append("</a>");
    29122913        if (showPriority) {
Note: See TracChangeset for help on using the changeset viewer.