]> source.dussan.org Git - redmine.git/commitdiff
Adds a link to edit the associated wiki page on the version view. #4416
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Sat, 18 Sep 2010 17:30:22 +0000 (17:30 +0000)
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Sat, 18 Sep 2010 17:30:22 +0000 (17:30 +0000)
Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4101 e93f8b46-1217-0410-a6f0-8f06a7374b81

44 files changed:
app/views/versions/show.rhtml
config/locales/bg.yml
config/locales/bs.yml
config/locales/ca.yml
config/locales/cs.yml
config/locales/da.yml
config/locales/de.yml
config/locales/el.yml
config/locales/en-GB.yml
config/locales/en.yml
config/locales/es.yml
config/locales/eu.yml
config/locales/fi.yml
config/locales/fr.yml
config/locales/gl.yml
config/locales/he.yml
config/locales/hr.yml
config/locales/hu.yml
config/locales/id.yml
config/locales/it.yml
config/locales/ja.yml
config/locales/ko.yml
config/locales/lt.yml
config/locales/lv.yml
config/locales/mk.yml
config/locales/mn.yml
config/locales/nl.yml
config/locales/no.yml
config/locales/pl.yml
config/locales/pt-BR.yml
config/locales/pt.yml
config/locales/ro.yml
config/locales/ru.yml
config/locales/sk.yml
config/locales/sl.yml
config/locales/sr-YU.yml
config/locales/sr.yml
config/locales/sv.yml
config/locales/th.yml
config/locales/tr.yml
config/locales/uk.yml
config/locales/vi.yml
config/locales/zh-TW.yml
config/locales/zh.yml

index 79de5984b7703a9c36bdb9dac91da27529a6b118..6b2b09d0f6b07298501be47626fd836f33d32f80 100644 (file)
@@ -1,5 +1,6 @@
 <div class="contextual">
 <%= link_to_if_authorized l(:button_edit), {:controller => 'versions', :action => 'edit', :id => @version}, :class => 'icon icon-edit' %>
+<%= link_to_if_authorized(l(:button_edit_associated_wikipage, :page_title => @version.wiki_page_title), {:controller => 'wiki', :action => 'edit', :page => Wiki.titleize(@version.wiki_page_title)}, :class => 'icon icon-edit') unless @version.wiki_page_title.blank? || @project.wiki.nil? %>
 <%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %>
 </div>
 
index 0a8c427ef89f177ba8c71b37af03f13cfeedf007..ceee5c3cf7526a7e243d5e971a45c9e74377e1fb 100644 (file)
@@ -909,3 +909,4 @@ bg:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 741f46232da195f75948852d17e3f8835a9eaeeb..b855be9e9461d872417d9e467c6355bcd3e16d4d 100644 (file)
@@ -929,3 +929,4 @@ bs:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 50a389156535aff9f455ab458576504d76f3a95d..6ba0a8bea750d351a93ba8aadb4c17231a8b9e4b 100644 (file)
@@ -918,3 +918,4 @@ ca:
 
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 96fb608b6176b28bb7952fc609bf3623063f5254..71591fa4654dabfc37a21134447c1e93b54e9a25 100644 (file)
@@ -915,3 +915,4 @@ cs:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 38d9d6646cb3f3aed07d007a6e9b0a200d58ca71..b6270f0d18ab3a477875c7fba470c7c5461c303f 100644 (file)
@@ -931,3 +931,4 @@ da:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 5ec7073b3e611b2a7b6075b4149d2aed0b02cf7d..3a5ee094ea9c8a6ac5ca24ddf3c9d6b37c811377 100644 (file)
@@ -803,6 +803,7 @@ de:
   button_create_and_continue: Anlegen + nächstes Ticket
   button_test: Testen
   button_edit: Bearbeiten
+  button_edit_associated_wikipage: "Zugehörige Wikiseite bearbeiten: {{page_title}}"
   button_add: Hinzufügen
   button_change: Wechseln
   button_apply: Anwenden
index 22bc6a459eef648ce0d9393551a3a4be1343b41f..d0608e851be5e64489cd3bb420be0b46d311b172 100644 (file)
@@ -915,3 +915,4 @@ el:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 8c0b28cf36c857144e0346b626b5a0550ff92bf5..c0b520dfdf611c5068a7adee6e70c197b73bcf4e 100644 (file)
@@ -919,3 +919,4 @@ en-GB:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index cc4e311857d90a369044d56e545a0da491246fc4..81a26c82cccd2dc627e884562d87136c0294dc15 100644 (file)
@@ -786,6 +786,7 @@ en:
   button_create_and_continue: Create and continue
   button_test: Test
   button_edit: Edit
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
   button_add: Add
   button_change: Change
   button_apply: Apply
index 3f848f1d16803b0dd3dc100aad14d9bc082bf53f..1828558bf8015f32972c1d71e18d10e8a76bc574 100644 (file)
@@ -955,3 +955,4 @@ es:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 24ef38ea703d22f873235f1a9843ed9ec8b0d791..64881fe6fa8c4606b3cdf7e45bf9084d675abef8 100644 (file)
@@ -919,3 +919,4 @@ eu:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 985ab8b2a295a419ea3e2cf19c68cec79512670e..8b56c94da474e86fd88934ea3bee9658945344bc 100644 (file)
@@ -940,3 +940,4 @@ fi:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 7f96b6112d124f9cbdd7ec5af609661d3f3c9ef3..0a1ee46eaecba73a33e6546b4f8ea8cc81cce1ff 100644 (file)
@@ -933,3 +933,4 @@ fr:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Modifier la page de Wiki associée: {{page_title}}"
index b717d8d60d93539ad3d2eda8d45b7a595afb58a5..b5345de69bf1c5909ead9543a5b11531a03e64dc 100644 (file)
@@ -931,3 +931,4 @@ gl:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 86ebe7d3a869da9ff19f8b42e36848849826cd89..8c55b2351c3dfc97a9efaf55d2acb2282e60652d 100644 (file)
@@ -920,3 +920,4 @@ he:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index f4a809a9a90357bcfb6f9b35af557cdff0fa73cf..77cda672a82e7f16315af86b2e817a345fbc9581 100644 (file)
@@ -922,3 +922,4 @@ hr:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index fe1abdf36f50582581c67d65f72287a2d9de144d..84e714a6b170341c3ba961b393e890b8823eed29 100644 (file)
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 7c327833feda8bf5b72900ecf7bc8e5c1ef14f7a..ca6444b0c98954b457aac82db569e3e35a2e38de 100644 (file)
@@ -923,3 +923,4 @@ id:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 8d5aa4ef4149a56a8fe22c8739220413284dbb4f..6bd4096a9bc21c220ba4cc3bb17a4b78dd5da027 100644 (file)
@@ -919,3 +919,4 @@ it:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 09eb36690f376aae624d4b70b272a4a531e8c756..fa3346f17b075fb92a80df8fea8c3c1be135a383 100644 (file)
@@ -940,3 +940,4 @@ ja:
   enumeration_doc_categories: 文書カテゴリ
   enumeration_activities: 作業分類 (時間トラッキング)
   enumeration_system_activity: システム作業分類
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index eea667d62ff341dedb4641075798da73e25d9ae0..771f91cef4cac3ddfd04d7ae6f0f5ea5ddf10d07 100644 (file)
@@ -971,3 +971,4 @@ ko:
   project_module_calendar: 달력
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index b12a1107b388b9dc3ae9959bd3c478518862a39a..27c5466fd4c9b254baf1ed1df63305f4e176666e 100644 (file)
@@ -979,3 +979,4 @@ lt:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 271140cced9f7602e99473bf5769885281566bc2..5a628e5c55e02b1c46b7ddee07fca90d482c4b01 100644 (file)
@@ -910,3 +910,4 @@ lv:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index c9876186565349cb4b02dc7b723b719a5017a638..ac2a043d457e4c4801f88ac31ea31bdc037baf8a 100644 (file)
@@ -915,3 +915,4 @@ mk:
 
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index b92538a47471f0458c95e8769e42f4008fc7d131..908e8a844c09219b24b4ce5838068da63db32b45 100644 (file)
@@ -916,3 +916,4 @@ mn:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index e13e67ddfaca1879588e69856ba952f86ad8a7a9..b5933d2222fc2815de8bfe406ed2481a66689d48 100644 (file)
@@ -897,3 +897,4 @@ nl:
   project_module_calendar: Kalender
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index cc95dae7dcc9f9b20bbc825dc5f00ec4b3be5e4a..24be1a06e2f763d4ae5ced0ce8a7706577d7d98b 100644 (file)
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 6621ad39ebbae8829d47ed1d496051ab6cd08a6f..aade4af0e1b279b97a81db883114d9ebd09b36fe 100644 (file)
@@ -936,3 +936,4 @@ pl:
   project_module_calendar: Kalendarz
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 54707408396de91d90d268af7cd37528450e3c62..7fa9ae2f5183bf14aef668abc0d1540827e1f374 100644 (file)
@@ -939,3 +939,4 @@ pt-BR:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 28822061a98ee45eb801afdb2ce603664336b38f..9a7547ab49a1a2f4001cb7ab7932a2544e118daf 100644 (file)
@@ -923,3 +923,4 @@ pt:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 85fea1399778d57b6ae17668a1809b18d297a843..aac64cc2b8cbe93ec994fb067416ff4f3b9e42f5 100644 (file)
@@ -908,3 +908,4 @@ ro:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 806b5c0ac41b358a05e5bd0c72727f6f34c59835..68a8fa6ef88260673b563eba2eafb0ee12669e43 100644 (file)
@@ -1032,3 +1032,4 @@ ru:
   notice_unable_delete_time_entry: Невозможно удалить запись журнала.
   label_overall_spent_time: Всего затрачено времени
 
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 3fd6c41b24b2892d22622d167cddfa70bda1be7c..87c50e27a764a4f92b324667fa4fda215728a111 100644 (file)
@@ -910,3 +910,4 @@ sk:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 68d8bb089a0aca7f1848bb6e667a2b5310e1641c..3b579a8244ff256b62c704cabd266955a300b700 100644 (file)
@@ -911,3 +911,4 @@ sl:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index c2ac531c99e10bea52ed7651dc18c462f7185adf..b48e90223db73a354c021aa789042619b19b3d51 100644 (file)
@@ -915,3 +915,4 @@ sr-YU:
   project_module_calendar: Kalendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 5b5dfd461f84bf566061cfb7173bcb837be064f2..8282a37bf7750dc2043d7d49b180bf01dadf91cc 100644 (file)
@@ -916,3 +916,4 @@ sr:
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
 
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 8055c572d7e5fc35c3f5c9f1f3a2ff9a948bb34e..28ce75e21c02e69f6c7a47e679bddc6c4ce3716d 100644 (file)
@@ -960,3 +960,4 @@ sv:
   enumeration_system_activity: Systemaktivitet
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 3e855995f5852a75cb27bebacae1be2cee85915e..859cf0f08b9acc33e55a996a2dc12a92d966c89f 100644 (file)
@@ -912,3 +912,4 @@ th:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 43871ffe91bd60c6c3964b3e9e2826577c2ceef0..9244d983d43c96af7d18be6a134af835f4e71e10 100644 (file)
@@ -938,3 +938,4 @@ tr:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 89901d1ea2bb5d064ead57ae23bda142e08602fc..eade7c4a220e3821631a5c5ba91d709e9c65809b 100644 (file)
@@ -911,3 +911,4 @@ uk:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 28351ed262fe5b8d1de8bcdd46dee6906aa5d27a..94fbad869190d0b1a3530b482fe190b8c84a08eb 100644 (file)
@@ -970,3 +970,4 @@ vi:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index 8dab78787a58d9510f7939164a77646115e79031..26f23b7fa22a168222159ff9372e781ddb609274 100644 (file)
   enumeration_system_activity: 系統活動
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
index b882d277a8272436e8b67dbd9123bade03e538ab..3b788860da2e8194b8238b55c67f760258a784fd 100644 (file)
@@ -933,3 +933,4 @@ zh:
   project_module_calendar: Calendar
   field_member_of_group: Member of Group
   field_assigned_to_role: Member of Role
+  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"