Skip to content

Commit

Permalink
AO3-3597 Change admin option to more accurate Edit Tags and Language
Browse files Browse the repository at this point in the history
  • Loading branch information
sarken committed Jun 13, 2016
1 parent 85f4566 commit 500db9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/_admin_options.html.erb
Expand Up @@ -31,7 +31,7 @@
</li>
<% end %>
<% if @work.present? %>
<li><%= link_to ts("Edit Tags"), edit_tags_work_path(@work) %></li>
<li><%= link_to ts("Edit Tags and Language"), edit_tags_work_path(@work) %></li>
<% end %>
<% if item.class == ExternalWork %>
<li><%= link_to ts("Edit External Work"), edit_external_work_path(item) %></li>
Expand Down
6 changes: 3 additions & 3 deletions features/admins/admin_works.feature
Expand Up @@ -70,7 +70,7 @@ Feature: Admin Actions for Works and Bookmarks
And I post the work "Changes" with fandom "User-Added Fandom" with freeform "User-Added Freeform" with category "M/M"
When I am logged in as an admin
And I view the work "Changes"
And I follow "Edit Tags"
And I follow "Edit Tags and Language"
When I select "Mature" from "Rating"
And I uncheck "No Archive Warnings Apply"
And I check "Choose Not To Use Archive Warnings"
Expand Down Expand Up @@ -196,7 +196,7 @@ Feature: Admin Actions for Works and Bookmarks
And I post the work "Wrong Language"
When I am logged in as an admin
And I view the work "Wrong Language"
And I follow "Edit Tags"
And I follow "Edit Tags and Language"
When I select "Deutsch" from "Choose a language"
And I press "Post Without Preview"
Then I should see "Deutsch"
Expand All @@ -209,7 +209,7 @@ Feature: Admin Actions for Works and Bookmarks
And I post the work "Wrong Language"
When I am logged in as an admin
And I view the work "Wrong Language"
And I follow "Edit Tags"
And I follow "Edit Tags and Language"
When I select "Deutsch" from "Choose a language"
And I press "Preview"
And I press "Update"
Expand Down

0 comments on commit 500db9a

Please sign in to comment.