Ignore:
Timestamp:
Feb 20, 2017, 8:09:27 AM (5 years ago)
Author:
Nicklas Nordborg
Message:

References #2043: Activating/deactivating roles on the fly in a login session

Added a "Inactive roles" tab in the "Preferences" dialog. This allows a user to set roles that should be inactive by default after logging in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/include/menu.jsp

    r7294 r7295  
    12151215          %>
    12161216          <m:menuitem
    1217             title="<%=r.getName() %>"
     1217            title="<%=HTML.encodeTags(r.getName()) %>"
    12181218            tooltip="<%=menu.getString("myroles.tooltip", isInactive)%>"
    12191219            icon="<%=isInactive ? "option_unselected.png" : "option_selected.png"%>"
     
    12231223          <%
    12241224        }
     1225        %>
     1226        <m:menuseparator />
     1227        <m:menuitem
     1228          title="<%=menu.getString("myroles.options") + "…"%>"
     1229          url="<%=root+"my_base/user/preferences.jsp?ID="+ID+"&amp;page=inactiveRoles"%>"
     1230          data-popup="Preferences, 600, 400"
     1231          tooltip="<%=menu.getString("myroles.options.tooltip")%>"
     1232        />
     1233        <%
    12251234      }
    12261235      %>
Note: See TracChangeset for help on using the changeset viewer.