summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/icons_helper.rb4
-rw-r--r--app/helpers/projects_helper.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/helpers/icons_helper.rb b/app/helpers/icons_helper.rb
index db4534da5..a29d42632 100644
--- a/app/helpers/icons_helper.rb
+++ b/app/helpers/icons_helper.rb
@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
module IconsHelper
- DEFAULT_ICON_SIZE = "14"
+ DEFAULT_ICON_SIZE = "18"
DEFAULT_SPRITE = "icons"
def icon_with_label(icon_name, label_text, icon_only: false, size: DEFAULT_ICON_SIZE, css_class: nil)
@@ -42,7 +42,7 @@ module IconsHelper
def icon_for_event_type(event_type, size: DEFAULT_ICON_SIZE, css_class: nil)
icon = case event_type
- when 'reply', 'issue-note'
+ when 'reply'
'comments'
when 'time-entry'
'time'
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 070b0231a..2cd5aff61 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -185,12 +185,12 @@ module ProjectsHelper
if bookmarked
css << "icon-bookmark"
- icon = "bookmark"
+ icon = "bookmark-delete"
method = "delete"
text = icon_with_label(icon, l(:button_project_bookmark_delete))
else
css << "icon-bookmark-off"
- icon = "bookmark-off"
+ icon = "bookmark-add"
method = "post"
text = icon_with_label(icon, l(:button_project_bookmark))
end