fix: do not serve ui demo unless it exists #688
Merged
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.
Overview
Do not serve UI Pattern Library unless its directory exists.
Because https://github.com/TACC/Core-CMS-Custom apps typically do not sync UI demo.1
Status
Core-CMS Build: https://jenkins01.tacc.utexas.edu/job/Core_CMS_Build/1212
Core-CMS-Custom Build: …
Deploy: …
Related
Changes
settings.py
to not serve/static/ui
unlesstaccsite_ui
existsTesting & UI
TACC/Core-CMS-Custom#175
Footnotes
https://github.com/TACC/Core-CMS-Custom will probably not serve UI demo until that demo can auto-import their custom stylesheet. ↩