Blame progit/templates/user_info.html
|
Pierre-Yves Chibon |
559bcf |
{% extends "master.html" %}
|
|
Pierre-Yves Chibon |
559bcf |
|
|
Johan Cwiklinski |
160732 |
{% block title %}User {{username}}{% endblock %}
|
|
Pierre-Yves Chibon |
853b93 |
{%block tag %}users{% endblock %}
|
|
Pierre-Yves Chibon |
559bcf |
|
|
Pierre-Yves Chibon |
559bcf |
|
|
Johan Cwiklinski |
63918a |
{% block header %}
|
|
Johan Cwiklinski |
63918a |
|
|
Johan Cwiklinski |
63918a |
href="{{ url_for('static', filename='toggle.css') }}"/>
|
|
Johan Cwiklinski |
63918a |
{% endblock %}
|
|
Pierre-Yves Chibon |
559bcf |
|
|
Pierre-Yves Chibon |
7a439f |
|
|
Johan Cwiklinski |
63918a |
{% from "render_repo.html" import render_repos %}
|
|
Johan Cwiklinski |
63918a |
{% from "render_repo.html" import repos_switch %}
|
|
Pierre-Yves Chibon |
559bcf |
|
|
Pierre-Yves Chibon |
c5efd8 |
|
|
Johan Cwiklinski |
63918a |
{% block content %}
|
|
Johan Cwiklinski |
63918a |
|
|
Johan Cwiklinski |
63918a |
{{ username | avatar(36) | safe }} {{ username }}
|
|
Johan Cwiklinski |
63918a |
{% if g.fas_user and g.fas_user.username == username %}
|
|
Johan Cwiklinski |
63918a |
Settings
|
|
Pierre-Yves Chibon |
c5efd8 |
{% endif %}
|
|
Pierre-Yves Chibon |
c5efd8 |
|
|
Johan Cwiklinski |
63918a |
|
|
Johan Cwiklinski |
160732 |
{{ repos_switch(False) }}
|
|
Pierre-Yves Chibon |
a9d4e3 |
|
|
Pierre-Yves Chibon |
a9d4e3 |
Joined {{ user.created | humanize }}
|
|
Pierre-Yves Chibon |
a9d4e3 |
|
|
Johan Cwiklinski |
63918a |
|
|
Pierre-Yves Chibon |
567a5e |
{{ render_repos(
|
|
Pierre-Yves Chibon |
567a5e |
repos, total_page_repos, repopage,
|
|
Pierre-Yves Chibon |
567a5e |
'Projects', repos_length, 'repos') }}
|
|
Pierre-Yves Chibon |
567a5e |
{{ render_repos(
|
|
Pierre-Yves Chibon |
567a5e |
forks, total_page_forks, forkpage,
|
|
Pierre-Yves Chibon |
567a5e |
'Forks', forks_length, 'forks') }}
|
|
Pierre-Yves Chibon |
559bcf |
{% endblock %}
|
|
Johan Cwiklinski |
160732 |
|
|
Johan Cwiklinski |
160732 |
{% block jscripts %}
|
|
Johan Cwiklinski |
160732 |
{{ super() }}
|
|
Johan Cwiklinski |
160732 |
<script type="text/javascript"></script>
|
|
Pierre-Yves Chibon |
567a5e |
$(function(){
|
|
Pierre-Yves Chibon |
567a5e |
$('.show_parts input[type="checkbox"]').change(function(){
|
|
Pierre-Yves Chibon |
567a5e |
$('#' + $(this).attr('name')).toggle();
|
|
Johan Cwiklinski |
160732 |
});
|
|
Pierre-Yves Chibon |
567a5e |
});
|
|
Johan Cwiklinski |
160732 |
|
|
Johan Cwiklinski |
160732 |
{% endblock %}
|