Skip to content

Editors have more control over editorial team display#4068

Merged
joemull merged 19 commits into
masterfrom
2433-3146-editorial_team_images
Apr 16, 2024
Merged

Editors have more control over editorial team display#4068
joemull merged 19 commits into
masterfrom
2433-3146-editorial_team_images

Conversation

@ajrbyers

@ajrbyers ajrbyers commented Mar 28, 2024

Copy link
Copy Markdown
Member

Closes #2433
Closes #3146
Closes #908

  • Adds new default editorial team image to journals
  • Updates display to use in order: User Profile Image > Journal Default > Janeway Default
  • Moves control of display images to the EditorialGroup model and sets this based on the old setting, journals should not experience a change in their ET display
  • Moves editorial team settings onto the editorial team manager page
  • Adds two new settings allowing control of the name for the ET page and whether group names display

An example showing a Journal level default EG image and a group that has been set not to display amongst others that do.

image

@ajrbyers ajrbyers requested a review from mauromsl March 28, 2024 12:52

@mauromsl mauromsl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of comments inline, but the main question is if we want to use the new configurable image everywhere where the icons/users.png image is currently in use (and then name the setting appropriately)

Comment thread src/themes/OLH/templates/core/nav.html
Comment thread docs/source/manager/journal/index.rst Outdated
@mauromsl mauromsl changed the title #2433 #3146 Updates Janeway to allow a journal level default editorial team image and moves control of displaying images to editorial team groups Added support for journal level default editorial team image and moved control of displaying images to editorial team groups Apr 2, 2024
@ajrbyers ajrbyers requested a review from mauromsl April 2, 2024 15:20

@mauromsl mauromsl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! just a small title change on the docs from me

Comment thread docs/source/manager/journal/index.rst Outdated
@mauromsl mauromsl requested a review from joemull April 2, 2024 16:27

@joemull joemull left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be great! I picked up a few usability things and then I'll be happy to approve this.

Comment thread docs/source/manager/journal/index.rst Outdated
Comment thread src/templates/common/elements/profile_image.html Outdated
Comment thread src/themes/OLH/templates/journal/editorial_team.html Outdated
Comment thread src/themes/OLH/templates/journal/editorial_team.html
@joemull joemull changed the title Added support for journal level default editorial team image and moved control of displaying images to editorial team groups Editors have more control over editorial team display Apr 4, 2024
@ajrbyers ajrbyers force-pushed the 2433-3146-editorial_team_images branch from acd034d to d719990 Compare April 15, 2024 15:33
@ajrbyers ajrbyers requested a review from joemull April 15, 2024 15:44
@ajrbyers ajrbyers assigned joemull and unassigned ajrbyers Apr 15, 2024
@joemull joemull merged commit a165366 into master Apr 16, 2024
@joemull joemull deleted the 2433-3146-editorial_team_images branch April 16, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Editorial Team: Photo Display Allow admin/editors to upload a default user profile image (journal-specific) Editorial Team Page

4 participants