diff --git a/pagure/themes/srcfpo/templates/repo_info.html b/pagure/themes/srcfpo/templates/repo_info.html new file mode 100644 index 0000000..0e14e02 --- /dev/null +++ b/pagure/themes/srcfpo/templates/repo_info.html @@ -0,0 +1,346 @@ +{% extends "repo_master.html" %} + +{% block title %}{{ select.capitalize() }} - {{ + repo.namespace + '/' if repo.namespace }}{{ repo.name }}{% endblock %} +{% set tag = "home" %} + +{% if g.repo_watch_levels == ['issues', 'commits'] %} + {% set watch_button_title = 'You are watching issues, PRs, and commits on this project' %} + {% set watch_button_text = 'Unwatch' %} +{% elif g.repo_watch_levels == ['issues'] %} + {% set watch_button_title = 'You are watching issues on this project' %} + {% set watch_button_text = 'Unwatch' %} +{% elif g.repo_watch_levels == ['commits'] %} + {% set watch_button_title = 'You are watching commits on this project' %} + {% set watch_button_text = 'Unwatch' %} +{% else %} + {% set watch_button_title = 'You are not watching this project' %} + {% set watch_button_text = 'Watch' %} +{% endif %} + +{% block header %} + +{% endblock %} + +{% block repo %} +
This repo is brand new!
+ {% if g.authenticated and g.repo_committer %} +If you already have a git repo:
+git remote add origin {{ config.get('GIT_URL_SSH') }}{% if repo.parent %}forks/{% endif %}{{ repo.fullname }}.git
+git push -u origin master
+
+ If you have not created your git repo yet:
+git clone {{ config.get('GIT_URL_SSH') }}{% if repo.parent %}forks/{% endif %}{{ repo.fullname }}.git
+cd {{ repo.name }}
+touch README.rst
+git add README.rst
+git commit -m "Add README file"
+git push -u origin master
+ {% else %}
+ The Project Creator has not pushed any code yet
+ {% endif %} +