Repository page header redesign II: The reredesign #81
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Following from #78, I've changed the repository header again as we discussed.
Changes:
datacite.yml
file existed in the repository root. This functionality is now part of the repository context builder, which makes the information available on all repository pages, but means that we no longer require adatacite.yml
file to be in the repository root for an already registered repository. I consider this acceptable, since a repository can be modified after registration and should retain its badge.Screenshots
Owner view
Registered repository: front page
Registered repository: file view
Registered repository: wiki page
Unregistered repository: front page
Unregistered repository: file view
Ready to register: front page
Ready to register: file view
NOTE: The buttons change here because without listing the repository's front page, it's unknown whether a
datacite.yml
file exists in the repository root, which is required for a repository to be ready. I think this is a minor issue and we can address it in the future.Registered and ready: front page
Registered and ready: file view
NOTE: Same issue as above.
Non-owner view
Registered
Unregistered