Changeset 6759


Ignore:
Timestamp:
Feb 23, 2015, 9:53:33 AM (7 years ago)
Author:
Nicklas Nordborg
Message:

References #1325: Lists of items (similar funcion as biomaterial lists)

Remove Biomaterial lists from the gui.

Location:
trunk/www
Files:
1 deleted
1 edited

Legend:

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

    r6742 r6759  
    684684    final boolean createExtracts        =  sc.hasPermission(Permission.CREATE, Item.EXTRACT);
    685685   
    686     final boolean hasBioMaterialLists   = !sc.hasPermission(Permission.DENIED, Item.BIOMATERIALLIST);
    687    
    688686    final boolean hasBioPlates      = !sc.hasPermission(Permission.DENIED, Item.BIOPLATE);
    689687    final boolean createBioPlates   =  sc.hasPermission(Permission.CREATE, Item.BIOPLATE);
     
    691689    final boolean hasBioPlateEventTypes = !sc.hasPermission(Permission.DENIED, Item.BIOPLATEEVENTTYPE);
    692690    final boolean hasBioLims      =  hasTags || hasBioSources || hasSamples || hasExtracts ||
    693                       hasBioMaterialLists || hasBioPlates ||
    694                       hasBioPlateTypes || hasBioPlateEventTypes;
     691                      hasBioPlates || hasBioPlateTypes || hasBioPlateEventTypes;
    695692   
    696693    if (hasBioLims)
     
    743740          tooltip="<%=menu.getString("bioplateeventtypes.tooltip", hasBioPlateEventTypes)%>"
    744741          enabled="<%=hasBioPlateEventTypes%>"
    745         />
    746         <m:menuseparator />
    747         <m:menuitem
    748           title="<%=common.getString("item.biomateriallist+")%>"
    749           url="<%=root+"biomaterials/lists/index.jsp?ID="+ID%>"
    750           tooltip="<%=menu.getString("biomateriallists.tooltip", hasBioMaterialLists)%>"
    751           enabled="<%=hasBioMaterialLists%>"
    752742        />
    753743      </m:menu>
Note: See TracChangeset for help on using the changeset viewer.