##// END OF EJS Templates
Removes the 'Copy' checkbox on the copy/move form....
Jean-Philippe Lang -
r3013:f2113e735d8d
parent child
Show More
1 NO CONTENT: new file 100644, binary diff hidden
@@ -3,7 +3,8
3 3 <%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time-add' %>
4 4 <% replace_watcher ||= 'watcher' %>
5 5 <%= watcher_tag(@issue, User.current, {:id => replace_watcher, :replace => ['watcher','watcher2']}) %>
6 <%= link_to_if_authorized l(:button_copy), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-copy' %>
6 <%= link_to_if_authorized l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-duplicate' %>
7 <%= link_to_if_authorized l(:button_copy), {:controller => 'issues', :action => 'move', :id => @issue, :copy_options => {:copy => 't'} }, :class => 'icon icon-copy' %>
7 8 <%= link_to_if_authorized l(:button_move), {:controller => 'issues', :action => 'move', :id => @issue }, :class => 'icon icon-move' %>
8 9 <%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
9 10 </div>
@@ -98,13 +98,11
98 98 <% end %>
99 99
100 100 <% if @issue.present? %>
101 <li><%= context_menu_link l(:button_copy), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue},
102 :class => 'icon-copy', :disabled => !@can[:copy] %></li>
103 <% else %>
101 <li><%= context_menu_link l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue},
102 :class => 'icon-duplicate', :disabled => !@can[:copy] %></li>
103 <% end %>
104 104 <li><%= context_menu_link l(:button_copy), {:controller => 'issues', :action => 'move', :ids => @issues.collect(&:id), :copy_options => {:copy => 't'}},
105 105 :class => 'icon-copy', :disabled => !@can[:move] %></li>
106 <% end %>
107
108 106 <li><%= context_menu_link l(:button_move), {:controller => 'issues', :action => 'move', :ids => @issues.collect(&:id)},
109 107 :class => 'icon-move', :disabled => !@can[:move] %></li>
110 108 <li><%= context_menu_link l(:button_delete), {:controller => 'issues', :action => 'destroy', :ids => @issues.collect(&:id)},
@@ -1,4 +1,4
1 <h2><%= l(:button_move) %></h2>
1 <h2><%= @copy ? l(:button_copy) : l(:button_move) %></h2>
2 2
3 3 <ul>
4 4 <% @issues.each do |issue| -%>
@@ -42,11 +42,14
42 42 <label><%= l(:field_due_date) %></label>
43 43 <%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %>
44 44 </p>
45
46 <p><label for="copy_options_copy"><%= l(:button_copy)%></label>
47 <%= check_box_tag "copy_options[copy]", "1", @copy %></p>
48 45 </div>
49 46
50 <%= submit_tag l(:button_move) %>
51 <%= submit_tag l(:button_move_and_follow), :name => 'follow' %>
47 <% if @copy %>
48 <%= hidden_field_tag("copy_options[copy]", "1") %>
49 <%= submit_tag l(:button_copy) %>
50 <%= submit_tag l(:button_copy_and_follow), :name => 'follow' %>
51 <% else %>
52 <%= submit_tag l(:button_move) %>
53 <%= submit_tag l(:button_move_and_follow), :name => 'follow' %>
54 <% end %>
52 55 <% end %>
@@ -842,3 +842,5 bg:
842 842 label_version_sharing_tree: With project tree
843 843 label_version_sharing_none: Not shared
844 844 error_can_not_archive_project: This project can not be archived
845 button_duplicate: Duplicate
846 button_copy_and_follow: Copy and follow
@@ -866,3 +866,5 bs:
866 866 label_version_sharing_tree: With project tree
867 867 label_version_sharing_none: Not shared
868 868 error_can_not_archive_project: This project can not be archived
869 button_duplicate: Duplicate
870 button_copy_and_follow: Copy and follow
@@ -845,3 +845,5 ca:
845 845 label_version_sharing_tree: With project tree
846 846 label_version_sharing_none: Not shared
847 847 error_can_not_archive_project: This project can not be archived
848 button_duplicate: Duplicate
849 button_copy_and_follow: Copy and follow
@@ -848,3 +848,5 cs:
848 848 label_version_sharing_tree: With project tree
849 849 label_version_sharing_none: Not shared
850 850 error_can_not_archive_project: This project can not be archived
851 button_duplicate: Duplicate
852 button_copy_and_follow: Copy and follow
@@ -868,3 +868,5 da:
868 868 label_version_sharing_tree: With project tree
869 869 label_version_sharing_none: Not shared
870 870 error_can_not_archive_project: This project can not be archived
871 button_duplicate: Duplicate
872 button_copy_and_follow: Copy and follow
@@ -868,3 +868,5 de:
868 868 label_version_sharing_tree: With project tree
869 869 label_version_sharing_none: Not shared
870 870 error_can_not_archive_project: This project can not be archived
871 button_duplicate: Duplicate
872 button_copy_and_follow: Copy and follow
@@ -848,3 +848,5 el:
848 848 label_version_sharing_tree: With project tree
849 849 label_version_sharing_none: Not shared
850 850 error_can_not_archive_project: This project can not be archived
851 button_duplicate: Duplicate
852 button_copy_and_follow: Copy and follow
@@ -753,10 +753,12 en:
753 753 button_rename: Rename
754 754 button_change_password: Change password
755 755 button_copy: Copy
756 button_copy_and_follow: Copy and follow
756 757 button_annotate: Annotate
757 758 button_update: Update
758 759 button_configure: Configure
759 760 button_quote: Quote
761 button_duplicate: Duplicate
760 762
761 763 status_active: active
762 764 status_registered: registered
@@ -889,3 +889,5 es:
889 889 label_version_sharing_tree: With project tree
890 890 label_version_sharing_none: Not shared
891 891 error_can_not_archive_project: This project can not be archived
892 button_duplicate: Duplicate
893 button_copy_and_follow: Copy and follow
@@ -878,3 +878,5 fi:
878 878 label_version_sharing_tree: With project tree
879 879 label_version_sharing_none: Not shared
880 880 error_can_not_archive_project: This project can not be archived
881 button_duplicate: Duplicate
882 button_copy_and_follow: Copy and follow
@@ -769,10 +769,12 fr:
769 769 button_rename: Renommer
770 770 button_change_password: Changer de mot de passe
771 771 button_copy: Copier
772 button_copy_and_follow: Copier et suivre
772 773 button_annotate: Annoter
773 774 button_update: Mettre à jour
774 775 button_configure: Configurer
775 776 button_quote: Citer
777 button_duplicate: Dupliquer
776 778
777 779 status_active: actif
778 780 status_registered: enregistré
@@ -868,3 +868,5 gl:
868 868 label_version_sharing_tree: With project tree
869 869 label_version_sharing_none: Not shared
870 870 error_can_not_archive_project: This project can not be archived
871 button_duplicate: Duplicate
872 button_copy_and_follow: Copy and follow
@@ -852,3 +852,5 he:
852 852 label_version_sharing_tree: With project tree
853 853 label_version_sharing_none: Not shared
854 854 error_can_not_archive_project: This project can not be archived
855 button_duplicate: Duplicate
856 button_copy_and_follow: Copy and follow
@@ -873,3 +873,5
873 873 label_version_sharing_tree: With project tree
874 874 label_version_sharing_none: Not shared
875 875 error_can_not_archive_project: This project can not be archived
876 button_duplicate: Duplicate
877 button_copy_and_follow: Copy and follow
@@ -855,3 +855,5 it:
855 855 label_version_sharing_tree: With project tree
856 856 label_version_sharing_none: Not shared
857 857 error_can_not_archive_project: This project can not be archived
858 button_duplicate: Duplicate
859 button_copy_and_follow: Copy and follow
@@ -877,3 +877,5 ja:
877 877 label_version_sharing_tree: With project tree
878 878 label_version_sharing_none: Not shared
879 879 error_can_not_archive_project: This project can not be archived
880 button_duplicate: Duplicate
881 button_copy_and_follow: Copy and follow
@@ -908,3 +908,5 ko:
908 908 label_version_sharing_tree: With project tree
909 909 label_version_sharing_none: Not shared
910 910 error_can_not_archive_project: This project can not be archived
911 button_duplicate: Duplicate
912 button_copy_and_follow: Copy and follow
@@ -878,3 +878,5 lt:
878 878 label_version_sharing_tree: With project tree
879 879 label_version_sharing_none: Not shared
880 880 error_can_not_archive_project: This project can not be archived
881 button_duplicate: Duplicate
882 button_copy_and_follow: Copy and follow
@@ -830,3 +830,5 nl:
830 830 label_version_sharing_tree: With project tree
831 831 label_version_sharing_none: Not shared
832 832 error_can_not_archive_project: This project can not be archived
833 button_duplicate: Duplicate
834 button_copy_and_follow: Copy and follow
@@ -843,3 +843,5
843 843 label_version_sharing_tree: With project tree
844 844 label_version_sharing_none: Not shared
845 845 error_can_not_archive_project: This project can not be archived
846 button_duplicate: Duplicate
847 button_copy_and_follow: Copy and follow
@@ -871,3 +871,5 pl:
871 871 label_version_sharing_tree: With project tree
872 872 label_version_sharing_none: Not shared
873 873 error_can_not_archive_project: This project can not be archived
874 button_duplicate: Duplicate
875 button_copy_and_follow: Copy and follow
@@ -874,3 +874,5 pt-BR:
874 874 label_version_sharing_tree: With project tree
875 875 label_version_sharing_none: Not shared
876 876 error_can_not_archive_project: This project can not be archived
877 button_duplicate: Duplicate
878 button_copy_and_follow: Copy and follow
@@ -860,3 +860,5 pt:
860 860 label_version_sharing_tree: With project tree
861 861 label_version_sharing_none: Not shared
862 862 error_can_not_archive_project: This project can not be archived
863 button_duplicate: Duplicate
864 button_copy_and_follow: Copy and follow
@@ -845,3 +845,5 ro:
845 845 label_version_sharing_tree: With project tree
846 846 label_version_sharing_none: Not shared
847 847 error_can_not_archive_project: This project can not be archived
848 button_duplicate: Duplicate
849 button_copy_and_follow: Copy and follow
@@ -956,3 +956,5 ru:
956 956 label_version_sharing_tree: With project tree
957 957 label_version_sharing_none: Not shared
958 958 error_can_not_archive_project: This project can not be archived
959 button_duplicate: Duplicate
960 button_copy_and_follow: Copy and follow
@@ -847,3 +847,5 sk:
847 847 label_version_sharing_tree: With project tree
848 848 label_version_sharing_none: Not shared
849 849 error_can_not_archive_project: This project can not be archived
850 button_duplicate: Duplicate
851 button_copy_and_follow: Copy and follow
@@ -844,3 +844,5 sl:
844 844 label_version_sharing_tree: With project tree
845 845 label_version_sharing_none: Not shared
846 846 error_can_not_archive_project: This project can not be archived
847 button_duplicate: Duplicate
848 button_copy_and_follow: Copy and follow
@@ -863,3 +863,5
863 863 label_version_sharing_tree: With project tree
864 864 label_version_sharing_none: Not shared
865 865 error_can_not_archive_project: This project can not be archived
866 button_duplicate: Duplicate
867 button_copy_and_follow: Copy and follow
@@ -896,3 +896,5 sv:
896 896 label_version_sharing_tree: With project tree
897 897 label_version_sharing_none: Not shared
898 898 error_can_not_archive_project: This project can not be archived
899 button_duplicate: Duplicate
900 button_copy_and_follow: Copy and follow
@@ -845,3 +845,5 th:
845 845 label_version_sharing_tree: With project tree
846 846 label_version_sharing_none: Not shared
847 847 error_can_not_archive_project: This project can not be archived
848 button_duplicate: Duplicate
849 button_copy_and_follow: Copy and follow
@@ -875,3 +875,5 tr:
875 875 label_version_sharing_tree: With project tree
876 876 label_version_sharing_none: Not shared
877 877 error_can_not_archive_project: This project can not be archived
878 button_duplicate: Duplicate
879 button_copy_and_follow: Copy and follow
@@ -844,3 +844,5 uk:
844 844 label_version_sharing_tree: With project tree
845 845 label_version_sharing_none: Not shared
846 846 error_can_not_archive_project: This project can not be archived
847 button_duplicate: Duplicate
848 button_copy_and_follow: Copy and follow
@@ -907,3 +907,5 vi:
907 907 label_version_sharing_tree: With project tree
908 908 label_version_sharing_none: Not shared
909 909 error_can_not_archive_project: This project can not be archived
910 button_duplicate: Duplicate
911 button_copy_and_follow: Copy and follow
@@ -939,3 +939,5
939 939 label_version_sharing_tree: With project tree
940 940 label_version_sharing_none: Not shared
941 941 error_can_not_archive_project: This project can not be archived
942 button_duplicate: Duplicate
943 button_copy_and_follow: Copy and follow
@@ -872,3 +872,5 zh:
872 872 label_version_sharing_tree: With project tree
873 873 label_version_sharing_none: Not shared
874 874 error_can_not_archive_project: This project can not be archived
875 button_duplicate: Duplicate
876 button_copy_and_follow: Copy and follow
1 NO CONTENT: modified file, binary diff hidden
@@ -694,6 +694,7 vertical-align: middle;
694 694 .icon-add { background-image: url(../images/add.png); }
695 695 .icon-edit { background-image: url(../images/edit.png); }
696 696 .icon-copy { background-image: url(../images/copy.png); }
697 .icon-duplicate { background-image: url(../images/duplicate.png); }
697 698 .icon-del { background-image: url(../images/delete.png); }
698 699 .icon-move { background-image: url(../images/move.png); }
699 700 .icon-save { background-image: url(../images/save.png); }
General Comments 0
You need to be logged in to leave comments. Login now