|
@@ -27,17 +27,6 @@
|
|
|
Joined {{ user.created | humanize }}
|
|
|
</p>
|
|
|
|
|
|
- {% if config.get('DATAGREPPER_URL') %}
|
|
|
- <section class="project_list" id="user_graph">
|
|
|
- <header>
|
|
|
- <h2>Contributions</h2>
|
|
|
- </header>
|
|
|
- <a href="{{config.get('DATAGREPPER_URL')}}/raw?category={{config.get('DATAGREPPER_CATEGORY', 'pagure')}}&user={{username}}" target="_blank">
|
|
|
- <img src="{{config.get('DATAGREPPER_URL')}}/charts/line?category={{config.get('DATAGREPPER_CATEGORY', 'pagure')}}&user={{username}}&split_on=users&delta=31536000&N=12&title=&width=600&height=200&style=light&fill=True&interpolation=cubic" alt="User activity graph"/>
|
|
|
- </a>
|
|
|
- </section>
|
|
|
- {% endif %}
|
|
|
-
|
|
|
{{ render_repos(
|
|
|
repos, total_page_repos, 'repopage', repopage,
|
|
|
'Projects', repos_length, 'repos', hide=False) }}
|
|
@@ -67,6 +56,18 @@
|
|
|
<p>No group found</p>
|
|
|
{% endfor %}
|
|
|
</section>
|
|
|
+
|
|
|
+ {% if config.get('DATAGREPPER_URL') %}
|
|
|
+ <section class="project_list" id="user_graph">
|
|
|
+ <header>
|
|
|
+ <h2>Contributions</h2>
|
|
|
+ </header>
|
|
|
+ <a href="{{config.get('DATAGREPPER_URL')}}/raw?category={{config.get('DATAGREPPER_CATEGORY', 'pagure')}}&user={{username}}" target="_blank">
|
|
|
+ <img src="{{config.get('DATAGREPPER_URL')}}/charts/line?category={{config.get('DATAGREPPER_CATEGORY', 'pagure')}}&user={{username}}&split_on=users&delta=31536000&N=12&title=&width=600&height=200&style=light&fill=True&interpolation=cubic" alt="User activity graph"/>
|
|
|
+ </a>
|
|
|
+ </section>
|
|
|
+ {% endif %}
|
|
|
+
|
|
|
{% endblock %}
|
|
|
|
|
|
{% block jscripts %}
|