Skip to content

Commit

Permalink
Merge pull request #3142 from artsy/egdbear/chore/DIA-452
Browse files Browse the repository at this point in the history
chore: update wording for admin editorial role change
  • Loading branch information
mc-jones authored Feb 9, 2024
2 parents 71af07b + 1d98db9 commit b746ad4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,13 @@ export class ArticleAuthors extends Component<AdminArticleProps> {
}

render() {
const { article, apiURL, isEditorial, isAdmin, onChangeArticleAction } = this.props
const {
article,
apiURL,
isEditorial,
isAdmin,
onChangeArticleAction,
} = this.props
const name = article.author ? article.author.name : ""

return (
Expand Down Expand Up @@ -95,7 +101,7 @@ export class ArticleAuthors extends Component<AdminArticleProps> {
{article.layout !== "news" && (
<AutocompleteListMetaphysics
field="contributing_authors"
label="Contributing Authors (admin role required)"
label="Contributing Authors (editorial role required)"
model="users"
isDraggable
onDragEnd={items => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const AdminFeaturing: React.SFC<AdminFeaturingProps> = props => {
<Box width={["100%", "50%"]} pr={[0, 2]}>
<AutocompleteListMetaphysics
field="partner_ids"
label="Partners (admin role required)"
label="Partners (editorial role required)"
model="partners"
placeholder="Search by partner name..."
disabled={!isAdmin}
Expand All @@ -36,7 +36,7 @@ export const AdminFeaturing: React.SFC<AdminFeaturingProps> = props => {
<Box width={["100%", "50%"]} pr={[0, 2]}>
<AutocompleteListMetaphysics
field="show_ids"
label="Shows (admin role required)"
label="Shows (editorial role required)"
model="partner_shows"
placeholder="Search by show name..."
disabled={!isAdmin}
Expand All @@ -46,7 +46,7 @@ export const AdminFeaturing: React.SFC<AdminFeaturingProps> = props => {
<Box width={["100%", "50%"]} pl={[0, 2]}>
<AutocompleteListMetaphysics
field="auction_ids"
label="Auctions (admin role required)"
label="Auctions (editorial role required)"
model="sales"
placeholder="Search by auction name..."
disabled={!isAdmin}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include ../../../../components/paginated_list/index
extend ../../../../components/layout/templates/index

block header
| Channels (admin role required)
| Channels (editorial role required)

block content
.max-width-container
Expand Down

0 comments on commit b746ad4

Please sign in to comment.