What the wiki does not show is the fact that the folder app/views/branded is added to the .gitignore by the DCC. I fixed this my adding an extra .gitignore for any extra folder in app/views/branded where I override the global settings from gitignore: https://github.com/DMPbelgium/roadmap/blob/master/app/views/branded/.gitignore (that ! means that the folder/file is readded to the git repo).
@StCyr can you update that branded view as your first issue, and send me a PR? Do this to see the intended difference with the original:
For plans with only one phase the tab does not show the phase title, but "Write plan".
This is done here: https://github.com/DMPbelgium/roadmap/blob/master/app/views/plans/_navigation.html.erb#L16
We already override this view here: https://github.com/DMPbelgium/roadmap/blob/master/app/views/branded/plans/_navigation.html.erb#L12. So that is the place to put any edits (do not edit the original in order to avoid merge conflicts in the future).
More information about branding of views in roadmap: https://github.com/DMPRoadmap/roadmap/wiki/Branding#views
What the wiki does not show is the fact that the folder
app/views/branded
is added to the.gitignore
by the DCC. I fixed this my adding an extra.gitignore
for any extra folder inapp/views/branded
where I override the global settings from gitignore: https://github.com/DMPbelgium/roadmap/blob/master/app/views/branded/.gitignore (that!
means that the folder/file is readded to the git repo).@StCyr can you update that branded view as your first issue, and send me a PR? Do this to see the intended difference with the original: