Skip to content

Commit

Permalink
Add reminder about commenting after changing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Nov 9, 2024
1 parent 3c06e24 commit dd2de34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/changeset_tags/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<h1><%= t ".heading" %></h1>
<% end %>

<div class="alert alert-warning">
<%= t ".comment_warning" %>
</div>

<h2><%= t ".changeset_html", :id => link_to(@changeset.id, @changeset) %></h2>

<p><%= changeset_details(@changeset) %></p>
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ en:
index:
heading: Manage changeset tags
changeset_html: "Changeset: %{id}"
comment_warning: Remember to add a comment to the changeset after modifying its tags. This ensures that the changes you made are replicated.
tag:
delete: "Delete"
confirm_delete: "Delete the tag %{k}=%{v} ?"
Expand Down

0 comments on commit dd2de34

Please sign in to comment.