From a33cc0aade24340b384d2aed2b3fdca8143ccdb2 Mon Sep 17 00:00:00 2001 From: Katsuya HIDAKA Date: Mon, 11 Nov 2024 13:08:15 +0900 Subject: [PATCH] Fixed icon-only button not display --- app/views/global_issue_templates/_form.html.erb | 2 +- app/views/global_issue_templates/index.html.erb | 3 +-- app/views/global_note_templates/_form.html.erb | 2 +- app/views/issue_templates/_list_templates.html.erb | 12 ++++++------ .../note_templates/_list_note_templates.html.erb | 8 ++++---- app/views/note_templates/index.html.erb | 6 +++--- app/views/settings/_redmine_issue_templates.html.erb | 6 +++--- assets/stylesheets/issue_templates.css | 2 +- 8 files changed, 20 insertions(+), 21 deletions(-) diff --git a/app/views/global_issue_templates/_form.html.erb b/app/views/global_issue_templates/_form.html.erb index c369ad3e..2f301863 100644 --- a/app/views/global_issue_templates/_form.html.erb +++ b/app/views/global_issue_templates/_form.html.erb @@ -115,7 +115,7 @@
<% if apply_all_projects %>

- + <%= l(:note_apply_global_template_to_all_projects_setting_enabled) %> diff --git a/app/views/global_issue_templates/index.html.erb b/app/views/global_issue_templates/index.html.erb index fbcdf159..f6b8635d 100644 --- a/app/views/global_issue_templates/index.html.erb +++ b/app/views/global_issue_templates/index.html.erb @@ -49,7 +49,7 @@

- +
<%= issue_template.title %> <%= textilizable(issue_template.description) %> @@ -92,4 +92,3 @@ - diff --git a/app/views/global_note_templates/_form.html.erb b/app/views/global_note_templates/_form.html.erb index 338176fc..d2a08677 100644 --- a/app/views/global_note_templates/_form.html.erb +++ b/app/views/global_note_templates/_form.html.erb @@ -80,7 +80,7 @@
<% if apply_all_projects %>

- + <%= l(:note_apply_global_template_to_all_projects_setting_enabled) %> diff --git a/app/views/issue_templates/_list_templates.html.erb b/app/views/issue_templates/_list_templates.html.erb index 78cb4fa9..df5dff1b 100644 --- a/app/views/issue_templates/_list_templates.html.erb +++ b/app/views/issue_templates/_list_templates.html.erb @@ -18,7 +18,7 @@

- +
<%= template.title %> <%= textilizable(template.description) %> @@ -33,7 +33,7 @@ <%= checked_image template.is_default? %> + class='icon-only icon-test template-update-link'> <% end %> @@ -47,7 +47,7 @@
- +
<%= template.title %> <%= textilizable(template.description) %> @@ -62,7 +62,7 @@ <%= checked_image template == default_template %> + class='icon-only icon-test template-update-link'> <% end %> @@ -76,7 +76,7 @@
- +
<%= template.issue_title %> <%= textilizable(template.description) %> @@ -91,7 +91,7 @@ <%= checked_image template == default_template %> + class='icon-only icon-test template-update-link template-global cursor: pointer;'> <% end %> diff --git a/app/views/note_templates/_list_note_templates.html.erb b/app/views/note_templates/_list_note_templates.html.erb index 13275ced..ce393a5d 100644 --- a/app/views/note_templates/_list_note_templates.html.erb +++ b/app/views/note_templates/_list_note_templates.html.erb @@ -14,7 +14,7 @@
- +
<%= template.name %> <%= textilizable(template.description) %> @@ -27,7 +27,7 @@ + class='icon-only icon-test template-update-link'> <% end %> @@ -38,7 +38,7 @@
- +
<%= template.name %> <%= textilizable(template.description) %> @@ -51,7 +51,7 @@ + class='icon-only icon-test template-global template-update-link'> <% end %> diff --git a/app/views/note_templates/index.html.erb b/app/views/note_templates/index.html.erb index f88c4125..f90f22b4 100644 --- a/app/views/note_templates/index.html.erb +++ b/app/views/note_templates/index.html.erb @@ -56,7 +56,7 @@
- +
<%= note_template.name %> <%= textilizable(note_template.description) %> @@ -107,7 +107,7 @@ <% if apply_all_projects %>

- + <%= l(:note_apply_global_template_to_all_projects_setting_enabled) %>
<%= l(:note_project_local_template_override_global_template) %> @@ -150,7 +150,7 @@

- +
<%= note_template.name %> <%= textilizable(note_template.description) %> diff --git a/app/views/settings/_redmine_issue_templates.html.erb b/app/views/settings/_redmine_issue_templates.html.erb index 8a498c8e..0f4a7284 100644 --- a/app/views/settings/_redmine_issue_templates.html.erb +++ b/app/views/settings/_redmine_issue_templates.html.erb @@ -44,13 +44,13 @@ \ No newline at end of file +
diff --git a/assets/stylesheets/issue_templates.css b/assets/stylesheets/issue_templates.css index 6dcbcfbb..b689f56f 100644 --- a/assets/stylesheets/issue_templates.css +++ b/assets/stylesheets/issue_templates.css @@ -188,7 +188,7 @@ select.issue_template { width: 240px; } -.issue_template.icon.settings { +.issue_template.icon-only.settings { background: url("../images/lamp.png") no-repeat 3px center; }