プロジェクト

全般

プロフィール

Vote #69557

完了

Hook for adding content to the side bar of Wiki page

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

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Hook requests_54
対象バージョン:
開始日:
2011/03/23
期日:
進捗率:

0%

予定工数:
category_id:
54
version_id:
127
issue_org_id:
7975
author_id:
16879
assigned_to_id:
332
comments:
6
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

I believe it can be useful to have an ability to add some content (e.g. Facebook Like button) to the side bar of a Wiki page.

Attached patch adds hook @:view_wiki_show_sidebar_top@ to the @app/views/wiki/_sidebar.rhtml@.

~/app/views/wiki$ patch < _sidebar.rhtml.patch

journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I want to add some features to wiki sidebar via my plugin.
So I want to add hooks to extend wiki sidebar.

I attach a patch to add hooks to extend wiki sidebar.

This patch can be applied to 3.4-stable branch and current master HEAD.
--------------------------------------------------------------------------------
I think it is reasonable to have a new hook @:view_wiki_show_sidebar_bottom@ as well as the following existing hooks.

* @:view_issues_sidebar_issues_bottom@
* @:view_issues_sidebar_planning_bottom@
* @:view_issues_sidebar_queries_bottom@
* @:view_projects_show_sidebar_bottom@

--------------------------------------------------------------------------------
Since there is no '.*_sideber_.*bottom' hook, I suggest adding only @:view_wiki_show_sidebar_bottom@.
--------------------------------------------------------------------------------
Added :view_wiki_show_sidebar_bottom in r18117. Thank you all for your contribution.
--------------------------------------------------------------------------------

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

  • カテゴリHook requests_54 にセット
  • 対象バージョン4.1.0_127 にセット

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

いいね!0
いいね!0