Project

General

Profile

Feature #1282

Hide the Worktime shortcut in header bar

Added by JEREMY LEGRAND about 6 years ago. Updated over 4 years ago.

Status:
終了(Closed)
Priority:
通常(Normal)
Target version:
Start date:
09/16/2013
Due date:
% Done:

100%

Estimated time:

Description

Hi,

I would like to hide the Worktime shortcut in header bar (positionned after the 'logged in as')
I want to display this link only to the specific roles.
I have clients who must not access to this part of Redmine.

Can you help me to do that ?

I really appreciate your plugin and redmine (I'm a newbie in Redmine ^^).

Thanks in advance for your answer,

best regards


Files

Capture22.JPG (21.7 KB) Capture22.JPG JEREMY LEGRAND, 09/16/2013 06:44 PM

Associated revisions

Revision 379:4f561da26ee8 (diff)
Added by Tomohisa Kusukawa over 4 years ago

fixes #1282 Hide the Worktime shortcut in header bar
make plugin settings 'show account menu'

Revision 7837b074 (diff)
Added by Tomohisa Kusukawa over 4 years ago

fixes #1282 Hide the Worktime shortcut in header bar
make plugin settings 'show account menu'

History

#1

Updated by Tomohisa Kusukawa about 6 years ago

  • Project changed from r-labs to Work Time
  • Status changed from 新規(New) to フィードバック(Reopend)
  • Assignee set to JEREMY LEGRAND

Hi, JEREMY.

You can comment out following 2 lines to remove 'WorkTime' link on account menu.

redmine_work_time/init.rb

$ diff init.rb.org init.rb
23,24c23,24
<   menu :account_menu, :work_time,
<     {:controller => 'work_time', :action => 'index'}, :caption => :work_time
---
> #  menu :account_menu, :work_time,
> #    {:controller => 'work_time', :action => 'index'}, :caption => :work_time

best regards

#2

Updated by Tomohisa Kusukawa over 4 years ago

  • Status changed from フィードバック(Reopend) to 解決(Resolved)
  • % Done changed from 0 to 100

更新履歴 commit:4f561da26ee8 で適用されました。

#3

Updated by Tomohisa Kusukawa over 4 years ago

  • Status changed from 解決(Resolved) to 終了(Closed)
#4

Updated by Tomohisa Kusukawa over 4 years ago

  • Target version set to 0.3.0

Also available in: Atom PDF