Project

General

Profile

Feature #1184

[Patch] Add link to hudson server in sidebar

Added by A B over 6 years ago. Updated about 6 years ago.

Status:
終了(Closed)
Priority:
通常(Normal)
Target version:
Start date:
02/06/2013
Due date:
% Done:

100%

Estimated time:

Description

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>

History

#1

Updated by Toshiyuki Ando over 6 years ago

  • Target version set to 2.1.2

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

#2

Updated by Toshiyuki Ando over 6 years ago

  • Status changed from 新規(New) to 解決(Resolved)
  • Assignee set to Toshiyuki Ando
#3

Updated by Toshiyuki Ando about 6 years ago

  • % Done changed from 0 to 100
#4

Updated by Toshiyuki Ando about 6 years ago

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

Also available in: Atom PDF