diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 0663fc9..5b6f0b4 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [JHP-89]: Changed the action labels to `Start Jupyter Notebook` and `Start Jupyter Dashboard` for clarity and consistency as the batch launch plugin is already contains a 'Processing Dashboard' action. +- [JHP-91]: The 'New / Update Dashboard' modal in the plugin settings accepts both git branches and tags in the 'Branch' + field. The field label and description have been updated to reflect this ability. ### Fixed diff --git a/src/main/resources/META-INF/resources/scripts/xnat/plugin/jupyterhub/jupyterhub-dashboards.js b/src/main/resources/META-INF/resources/scripts/xnat/plugin/jupyterhub/jupyterhub-dashboards.js index 1a9c6a8..2ccc985 100644 --- a/src/main/resources/META-INF/resources/scripts/xnat/plugin/jupyterhub/jupyterhub-dashboards.js +++ b/src/main/resources/META-INF/resources/scripts/xnat/plugin/jupyterhub/jupyterhub-dashboards.js @@ -306,10 +306,10 @@ XNAT.plugin.jupyterhub.dashboards.frameworks = getObject(XNAT.plugin.jupyterhub. spawn('div.clear') ]), spawn('div.panel-element.file-source.git|data-name=git-repo-branch', [ - spawn('label.element-label|for=git-repo-branch', 'Branch'), + spawn('label.element-label|for=git-repo-branch', 'Branch / Tag'), spawn('div.element-wrapper', [ spawn(`input#git-repo-branch|type=text`, { value: gitRepoBranch }), - spawn('div.description', 'Enter the branch containing the dashboard code.') + spawn('div.description', 'Enter the branch or tag containing the dashboard code.') ]), spawn('div.clear') ]),