diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-05-13 12:06:51 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-05-16 15:51:22 -0500 |
commit | 7844fa1fc2e54de9b36f6bb2faa6d2f3385fc4f7 (patch) | |
tree | 053b42a3cce696ae37ed014f96cd3984b7a64b5a /app/views | |
parent | 67312fceaa69abb2bc88aa62601625e9f6a62270 (diff) | |
download | gitlab-ce-7844fa1fc2e54de9b36f6bb2faa6d2f3385fc4f7.tar.gz |
Add auxiliary viewer for CONTRIBUTINGdm-contributing-viewer
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/blob/viewers/_contributing.html.haml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/projects/blob/viewers/_contributing.html.haml b/app/views/projects/blob/viewers/_contributing.html.haml new file mode 100644 index 00000000000..c78f04c9c7c --- /dev/null +++ b/app/views/projects/blob/viewers/_contributing.html.haml @@ -0,0 +1,9 @@ += icon('book fw') +After you've reviewed these contribution guidelines, you'll be all set to + +- options = contribution_options(viewer.project) +- if options.any? + = succeed '.' do + = options.to_sentence(two_words_connector: ' or ', last_word_connector: ', or ').html_safe +- else + contribute to this project. |