プロジェクト

全般

プロフィール

Proposal #1318

完了

I suggest to show the Set/Delete holiday menu to admins on the global page

Olivier Houdas さんが約10年前に追加. ほぼ10年前に更新.

ステータス:
終了(Closed)
優先度:
通常(Normal)
対象バージョン:
開始日:
2014/04/15
期日:
進捗率:

100%

予定工数:

説明

If you select Work time from the top right menu (that is, not linked to any project), the button "set holiday on this date" is not displayed.

I suggest changing app/views/work_time/show.html.erb line 10 from
<%if @project && User.current.allowed_to?(:edit_work_time_total, @project) then%>
to
<%if ((User.current.admin) || (@project && User.current.allowed_to?(:edit_work_time_total, @project))) then%>

so that global admins still get the right to set bank holidays for the all teams without selecting a specific project. This is all the more justified that the holiday table does not store any associated project.

Tomohisa Kusukawa さんがほぼ10年前に更新

  • 対象バージョン0.2.15 にセット

Tomohisa Kusukawa さんがほぼ10年前に更新

  • ステータス新規(New) から 解決(Resolved) に変更
  • 進捗率0 から 100 に変更

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

Tomohisa Kusukawa さんがほぼ10年前に更新

  • ステータス解決(Resolved) から 終了(Closed) に変更

I released Ver.0.2.15.
http://www.r-labs.org/news/180

他の形式にエクスポート: Atom PDF