Project

General

Profile

Actions

Feature #1282

closed

Hide the Worktime shortcut in header bar

Added by JEREMY LEGRAND over 11 years ago. Updated about 10 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
Capture22.JPG
Actions #1

Updated by Tomohisa Kusukawa over 11 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

Actions #2

Updated by Tomohisa Kusukawa about 10 years ago

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

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

Actions #3

Updated by Tomohisa Kusukawa about 10 years ago

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

Updated by Tomohisa Kusukawa about 10 years ago

  • Target version set to 0.3.0
Actions

Also available in: Atom PDF