Skip to content

Commit

Permalink
Merge pull request #1788 from manyfold3d/change-icon
Browse files Browse the repository at this point in the history
Change icon for new models to stars
  • Loading branch information
Floppy authored Jan 30, 2024
2 parents 163f8f1 + 3fe61c6 commit e39f28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/models_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def group(files)

def status_badges(model)
badges = []
badges << content_tag(:span, icon("bi bi-inbox-fill", t("general.new")), class: "text-success align-middle") if model.new?
badges << content_tag(:span, icon("bi bi-stars", t("general.new")), class: "text-warning align-middle") if model.new?
badges << problem_icon(model.problems_including_files)
content_tag :span, safe_join(badges, " "), class: "status-badges"
end
Expand Down

0 comments on commit e39f28e

Please sign in to comment.