プロジェクト

全般

プロフィール

Feature #1184

完了

[Patch] Add link to hudson server in sidebar

A B さんが約11年前に追加. 10年以上前に更新.

ステータス:
終了(Closed)
優先度:
通常(Normal)
担当者:
対象バージョン:
開始日:
2013/02/06
期日:
進捗率:

100%

予定工数:

説明

Here is a simple patch to add a link in the sidebar to the hudson server - this is particularly useful when there are no jobs yet and hence no other links to the server.

--- ./config/locales/en.yml.orig        2013-01-14 06:50:26.000000000 -0800
+++ ./config/locales/en.yml     2013-02-05 18:17:45.269236175 -0800
@@ -6,6 +6,7 @@
   label_latest_build: Latest Build^M
   label_job_list: Job List^M
   label_settings: Settings^M
+  label_hudson_server: Server^M
   label_url: URL^M
   label_jobs: Jobs^M
   label_build_history: Build History^M
--- ./app/views/hudson/_hudson_sidebar.html.erb.orig    2013-01-14 06:50:26.000000000 -0800
+++ ./app/views/hudson/_hudson_sidebar.html.erb 2013-02-05 18:15:42.915386783 -0800
@@ -1,3 +1,4 @@
 <h3><%=l(:label_hudson)%></h3>

-<p><%=link_to_if_authorized l(:label_settings), {:controller => 'hudson_settings', :action => 'edit', :id => @project}%></p>
+<%=link_to_if_authorized l(:label_settings), {:controller => 'hudson_settings', :action => 'edit', :id => @project}%><br>
+<%=link_to l(:label_hudson_server), @hudson.settings.url%><br>

Toshiyuki Ando さんが約11年前に更新

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

Thanks for your patch!!
I added. I'll release soon.

Toshiyuki Ando さんが約11年前に更新

  • ステータス新規(New) から 解決(Resolved) に変更
  • 担当者Toshiyuki Ando にセット

Toshiyuki Ando さんが10年以上前に更新

  • 進捗率0 から 100 に変更

Toshiyuki Ando さんが10年以上前に更新

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

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