<%= link_to(l(:label_new_templates),
@@ -22,7 +22,6 @@
<%= l(:field_tracker) %> |
<%= l(:field_author) %> |
<%= l(:field_updated_on) %> |
- <%= l(:field_is_default) %> |
<%= l(:label_enabled) %> |
<% if authorize_for("global_issue_templates", "edit") %>
<%=l(:button_sort)%> |
@@ -33,13 +32,12 @@
<% @global_issue_templates.each do |issue_template| %>
issue_template issue">
| <%= link_to h(issue_template.id), {:controller => 'global_issue_templates',
- :id => issue_template.id, :action => 'show'}, {:title => issue_template.note } %> |
+ :id => issue_template.id, :action => 'show'}, title: issue_template.title, tooltip: issue_template.note %>
<%= link_to h(issue_template.title), {:controller => 'global_issue_templates',
- :id => issue_template.id, :action => 'show'}, {:title => issue_template.note } %> |
+ :id => issue_template.id, :action => 'show'}, title: issue_template.note, class: "tooltip" %>
<%=h issue_template.tracker.name %> |
<%=h issue_template.author %> |
<%= format_time(issue_template.updated_on)%> |
- <%= checked_image issue_template.is_default? %> |
<%= checked_image issue_template.enabled? %> |
<% if authorize_for("issue_templates", "edit") %>
diff --git a/db/migrate/20140330155030_remove_is_default_from_global_issue_templates.rb b/db/migrate/20140330155030_remove_is_default_from_global_issue_templates.rb
new file mode 100644
index 0000000..257cbb5
--- /dev/null
+++ b/db/migrate/20140330155030_remove_is_default_from_global_issue_templates.rb
@@ -0,0 +1,9 @@
+class RemoveIsDefaultFromGlobalIssueTemplates < ActiveRecord::Migration
+ def self.up
+ remove_column :global_issue_templates, :is_default
+ end
+
+ def self.down
+ raise IrreversibleMigration
+ end
+end