add_link_to_edit_associated_wiki_page_to_version_show.patch

Adds a link to edit the associated wiki page to the show version page - Felix Schäfer, 2010-07-12 21:40

Download (18.7 KB)

View differences:

app/views/versions/show.rhtml
1 1
<div class="contextual">
2 2
<%= link_to_if_authorized l(:button_edit), {:controller => 'versions', :action => 'edit', :id => @version}, :class => 'icon icon-edit' %>
3
<%= 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? %>
3 4
<%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %>
4 5
</div>
5 6

  
config/locales/bg.yml
899 899
  notice_unable_delete_time_entry: Unable to delete time log entry.
900 900
  label_overall_spent_time: Overall spent time
901 901
  notice_successful_create_with_link: "Successful creation: {{link}}"
902
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/bs.yml
923 923
  notice_unable_delete_time_entry: Unable to delete time log entry.
924 924
  label_overall_spent_time: Overall spent time
925 925
  notice_successful_create_with_link: "Successful creation: {{link}}"
926
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/ca.yml
902 902
  notice_unable_delete_time_entry: Unable to delete time log entry.
903 903
  label_overall_spent_time: Overall spent time
904 904
  notice_successful_create_with_link: "Successful creation: {{link}}"
905
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/cs.yml
905 905
  notice_unable_delete_time_entry: Unable to delete time log entry.
906 906
  label_overall_spent_time: Overall spent time
907 907
  notice_successful_create_with_link: "Successful creation: {{link}}"
908
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/da.yml
925 925
  notice_unable_delete_time_entry: Unable to delete time log entry.
926 926
  label_overall_spent_time: Overall spent time
927 927
  notice_successful_create_with_link: "Successful creation: {{link}}"
928
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/de.yml
780 780
  button_create_and_continue: Anlegen + nächstes Ticket
781 781
  button_test: Testen
782 782
  button_edit: Bearbeiten
783
  button_edit_associated_wikipage: "Zugehörige Wikiseite bearbeiten: {{page_title}}"
783 784
  button_add: Hinzufügen
784 785
  button_change: Wechseln
785 786
  button_apply: Anwenden
config/locales/el.yml
905 905
  notice_unable_delete_time_entry: Unable to delete time log entry.
906 906
  label_overall_spent_time: Overall spent time
907 907
  notice_successful_create_with_link: "Successful creation: {{link}}"
908
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/en-GB.yml
908 908
  notice_failed_to_save_members: "Failed to save member(s): {{errors}}."
909 909
  label_project_copy_notifications: Send email notifications during the project copy
910 910
  notice_successful_create_with_link: "Successful creation: {{link}}"
911
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/en.yml
775 775
  button_create_and_continue: Create and continue
776 776
  button_test: Test
777 777
  button_edit: Edit
778
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
778 779
  button_add: Add
779 780
  button_change: Change
780 781
  button_apply: Apply
config/locales/es.yml
949 949
  notice_unable_delete_time_entry: Unable to delete time log entry.
950 950
  label_overall_spent_time: Overall spent time
951 951
  notice_successful_create_with_link: "Successful creation: {{link}}"
952
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/eu.yml
909 909
  notice_unable_delete_time_entry: Unable to delete time log entry.
910 910
  label_overall_spent_time: Overall spent time
911 911
  notice_successful_create_with_link: "Successful creation: {{link}}"
912
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/fi.yml
935 935
  notice_unable_delete_time_entry: Unable to delete time log entry.
936 936
  label_overall_spent_time: Overall spent time
937 937
  notice_successful_create_with_link: "Successful creation: {{link}}"
938
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/fr.yml
928 928
  notice_unable_delete_time_entry: Unable to delete time log entry.
929 929
  label_overall_spent_time: Overall spent time
930 930
  notice_successful_create_with_link: "Successful creation: {{link}}"
931
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/gl.yml
925 925
  notice_unable_delete_time_entry: Unable to delete time log entry.
926 926
  label_overall_spent_time: Overall spent time
927 927
  notice_successful_create_with_link: "Successful creation: {{link}}"
928
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/he.yml
909 909
  notice_unable_delete_time_entry: Unable to delete time log entry.
910 910
  label_overall_spent_time: Overall spent time
911 911
  notice_successful_create_with_link: "Successful creation: {{link}}"
912
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/hr.yml
912 912
  notice_unable_delete_time_entry: Unable to delete time log entry.
913 913
  label_overall_spent_time: Overall spent time
914 914
  notice_successful_create_with_link: "Successful creation: {{link}}"
915
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/hu.yml
932 932
  notice_unable_delete_time_entry: Unable to delete time log entry.
933 933
  label_overall_spent_time: Overall spent time
934 934
  notice_successful_create_with_link: "Successful creation: {{link}}"
935
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/id.yml
917 917
  notice_unable_delete_time_entry: Unable to delete time log entry.
918 918
  label_overall_spent_time: Overall spent time
919 919
  notice_successful_create_with_link: "Successful creation: {{link}}"
920
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/it.yml
912 912
  notice_unable_delete_time_entry: Unable to delete time log entry.
913 913
  label_overall_spent_time: Overall spent time
914 914
  notice_successful_create_with_link: "Successful creation: {{link}}"
915
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/ja.yml
934 934
  enumeration_activities: 作業分類 (時間トラッキング)
935 935
  enumeration_system_activity: システム作業分類
936 936
  notice_successful_create_with_link: "Successful creation: {{link}}"
937
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/ko.yml
965 965
  notice_unable_delete_time_entry: Unable to delete time log entry.
966 966
  label_overall_spent_time: Overall spent time
967 967
  notice_successful_create_with_link: "Successful creation: {{link}}"
968
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/lt.yml
973 973
  notice_unable_delete_time_entry: Unable to delete time log entry.
974 974
  label_overall_spent_time: Overall spent time
975 975
  notice_successful_create_with_link: "Successful creation: {{link}}"
976
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/lv.yml
900 900
  notice_unable_delete_time_entry: Unable to delete time log entry.
901 901
  label_overall_spent_time: Overall spent time
902 902
  notice_successful_create_with_link: "Successful creation: {{link}}"
903
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/mn.yml
906 906
  notice_unable_delete_time_entry: Unable to delete time log entry.
907 907
  label_overall_spent_time: Overall spent time
908 908
  notice_successful_create_with_link: "Successful creation: {{link}}"
909
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/nl.yml
887 887
  notice_unable_delete_time_entry: Unable to delete time log entry.
888 888
  label_overall_spent_time: Overall spent time
889 889
  notice_successful_create_with_link: "Successful creation: {{link}}"
890
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/no.yml
900 900
  notice_unable_delete_time_entry: Unable to delete time log entry.
901 901
  label_overall_spent_time: Overall spent time
902 902
  notice_successful_create_with_link: "Successful creation: {{link}}"
903
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/pl.yml
930 930
  notice_unable_delete_time_entry: Unable to delete time log entry.
931 931
  label_overall_spent_time: Overall spent time
932 932
  notice_successful_create_with_link: "Successful creation: {{link}}"
933
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/pt-BR.yml
933 933
  notice_unable_delete_time_entry: Unable to delete time log entry.
934 934
  label_overall_spent_time: Overall spent time
935 935
  notice_successful_create_with_link: "Successful creation: {{link}}"
936
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/pt.yml
917 917
  notice_unable_delete_time_entry: Unable to delete time log entry.
918 918
  label_overall_spent_time: Overall spent time
919 919
  notice_successful_create_with_link: "Successful creation: {{link}}"
920
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/ro.yml
902 902
  notice_unable_delete_time_entry: Unable to delete time log entry.
903 903
  label_overall_spent_time: Overall spent time
904 904
  notice_successful_create_with_link: "Successful creation: {{link}}"
905
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/ru.yml
1025 1025
  notice_unable_delete_time_entry: Unable to delete time log entry.
1026 1026
  label_overall_spent_time: Overall spent time
1027 1027
  notice_successful_create_with_link: "Successful creation: {{link}}"
1028
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/sk.yml
904 904
  notice_unable_delete_time_entry: Unable to delete time log entry.
905 905
  label_overall_spent_time: Overall spent time
906 906
  notice_successful_create_with_link: "Successful creation: {{link}}"
907
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/sl.yml
904 904
  notice_unable_delete_time_entry: Unable to delete time log entry.
905 905
  label_overall_spent_time: Overall spent time
906 906
  notice_successful_create_with_link: "Successful creation: {{link}}"
907
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/sr-CY.yml
906 906
  notice_unable_delete_time_entry: Unable to delete time log entry.
907 907
  label_overall_spent_time: Overall spent time
908 908
  notice_successful_create_with_link: "Successful creation: {{link}}"
909
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/sr.yml
906 906
  notice_unable_delete_time_entry: Unable to delete time log entry.
907 907
  label_overall_spent_time: Overall spent time
908 908
  notice_successful_create_with_link: "Successful creation: {{link}}"
909
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/sv.yml
954 954
  notice_unable_delete_time_entry: Unable to delete time log entry.
955 955
  label_overall_spent_time: Overall spent time
956 956
  notice_successful_create_with_link: "Successful creation: {{link}}"
957
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/th.yml
902 902
  notice_unable_delete_time_entry: Unable to delete time log entry.
903 903
  label_overall_spent_time: Overall spent time
904 904
  notice_successful_create_with_link: "Successful creation: {{link}}"
905
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/tr.yml
932 932
  notice_unable_delete_time_entry: Unable to delete time log entry.
933 933
  label_overall_spent_time: Overall spent time
934 934
  notice_successful_create_with_link: "Successful creation: {{link}}"
935
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/uk.yml
901 901
  notice_unable_delete_time_entry: Unable to delete time log entry.
902 902
  label_overall_spent_time: Overall spent time
903 903
  notice_successful_create_with_link: "Successful creation: {{link}}"
904
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/vi.yml
964 964
  notice_unable_delete_time_entry: Unable to delete time log entry.
965 965
  label_overall_spent_time: Overall spent time
966 966
  notice_successful_create_with_link: "Successful creation: {{link}}"
967
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/zh-TW.yml
994 994
  notice_unable_delete_time_entry: Unable to delete time log entry.
995 995
  label_overall_spent_time: Overall spent time
996 996
  notice_successful_create_with_link: "Successful creation: {{link}}"
997
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
config/locales/zh.yml
927 927
  notice_unable_delete_time_entry: Unable to delete time log entry.
928 928
  label_overall_spent_time: Overall spent time
929 929
  notice_successful_create_with_link: "Successful creation: {{link}}"
930
  button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"