プロジェクト

全般

プロフィール

Vote #75065

完了

Extract code to render project context links to helper

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Code cleanup/refactoring_30
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
30
version_id:
82
issue_org_id:
16381
author_id:
38840
assigned_to_id:
1
comments:
2
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

The attached patch is against trunk r12982.

Currently the logic to determine which links to show in the project view (app/views/projects/index.html.erb) is in the view itself. The current paradigm assumes the activity link always being shown. However if one wanted to hide that, or disable it (#1543), there is an extra separator left.

This patch will join the array of permissioned links with the separator in the projects helper; and return the html to render.


journals

Patch applied in r12986, thanks.
--------------------------------------------------------------------------------
Merged.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリCode cleanup/refactoring_30 にセット
  • 対象バージョン2.5.1_82 にセット

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

いいね!0
いいね!0