Add badge "new" to IFC models module

pull/7985/head
Henriette Dinger 5 years ago
parent 7641247ddd
commit 9b17386cd9
  1. 3
      modules/ifc_models/lib/open_project/ifc_models/engine.rb

@ -63,7 +63,8 @@ module OpenProject::IFCModels
caption: :'ifc_models.label_ifc_models', caption: :'ifc_models.label_ifc_models',
param: :project_id, param: :project_id,
after: :work_packages, after: :work_packages,
icon: 'icon2 icon-ifc') icon: 'icon2 icon-ifc',
badge: :label_new)
menu.push :ifc_viewer_panels, menu.push :ifc_viewer_panels,
{ controller: '/ifc_models/ifc_models', action: 'show_defaults' }, { controller: '/ifc_models/ifc_models', action: 'show_defaults' },

Loading…
Cancel
Save