|
Pierre-Yves Chibon |
006f93 |
{% extends "master.html" %}
|
|
Pierre-Yves Chibon |
7732a9 |
{% from "_formhelper.html" import render_field_in_row %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{% block title %}Home{% endblock %}
|
|
Pierre-Yves Chibon |
006f93 |
{%block tag %}home{% endblock %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{% block content %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
Request pull
|
|
Pierre-Yves Chibon |
006f93 |
{% if '/fork/' in request.url %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{% else %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{% endif %}
|
|
Pierre-Yves Chibon |
006f93 |
{{ repo.name }}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{% if '/fork/' in request.url %}
|
|
Pierre-Yves Chibon |
006f93 |
(
|
|
Pierre-Yves Chibon |
006f93 |
repo=repo.name, identifier=commitid) }}"
|
|
Pierre-Yves Chibon |
006f93 |
>tree)
|
|
Pierre-Yves Chibon |
006f93 |
{% else %}
|
|
Pierre-Yves Chibon |
006f93 |
(
|
|
Pierre-Yves Chibon |
006f93 |
repo=repo.name, identifier=commitid) }}"
|
|
Pierre-Yves Chibon |
006f93 |
>tree)
|
|
Pierre-Yves Chibon |
006f93 |
{% endif %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
7732a9 |
{% if request %}
|
|
Pierre-Yves Chibon |
7732a9 |
Title: {{ request.title }}
|
|
Pierre-Yves Chibon |
7732a9 |
{% endif %}
|
|
Pierre-Yves Chibon |
7732a9 |
|
|
Pierre-Yves Chibon |
006f93 |
<section class="commit_list"></section>
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{% for commit in diff_commits %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
repo=repo.name, commitid=commit.oid.hex)}}">
|
|
Pierre-Yves Chibon |
006f93 |
{{ commit.message.split('\n')[0] }}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{% endfor %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
7732a9 |
{% if form %}
|
|
Pierre-Yves Chibon |
7732a9 |
<section class="new_project"></section>
|
|
Pierre-Yves Chibon |
7732a9 |
|
|
Pierre-Yves Chibon |
7732a9 |
repo=repo.name, commitid=commitid) }}" method="post">
|
|
Pierre-Yves Chibon |
7732a9 |
|
|
Pierre-Yves Chibon |
7732a9 |
{{ render_field_in_row(form.title) }}
|
|
Pierre-Yves Chibon |
7732a9 |
|
|
Pierre-Yves Chibon |
7732a9 |
|
|
Pierre-Yves Chibon |
7732a9 |
<input class="submit positive button" type="submit" value="Create">
|
|
Pierre-Yves Chibon |
7732a9 |
<input class="button" onclick="history.back();" type="button" value="Cancel">
|
|
Pierre-Yves Chibon |
7732a9 |
{{ form.csrf_token }}
|
|
Pierre-Yves Chibon |
7732a9 |
|
|
Pierre-Yves Chibon |
7732a9 |
|
|
Pierre-Yves Chibon |
7732a9 |
|
|
Pierre-Yves Chibon |
7732a9 |
{% endif %}
|
|
Pierre-Yves Chibon |
7732a9 |
|
|
Pierre-Yves Chibon |
006f93 |
<section class="request_diff"></section>
|
|
Pierre-Yves Chibon |
006f93 |
Diff:
|
|
Pierre-Yves Chibon |
006f93 |
{% for html_diff in html_diffs %}
|
|
Pierre-Yves Chibon |
006f93 |
Commit: {{ diff_commits[loop.index - 1].oid.hex }}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
Author
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{{ diff_commits[loop.index - 1].author.name }} {{ '<' + diff_commits[loop.index - 1].author.email + '>' }}
|
|
Pierre-Yves Chibon |
006f93 |
- {{ diff_commits[loop.index - 1].commit_time }}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
Committer
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{{ diff_commits[loop.index - 1].committer.name }} {{ '<' + diff_commits[loop.index - 1].committer.email + '>' }}
|
|
Pierre-Yves Chibon |
006f93 |
- {{ diff_commits[loop.index - 1].commit_time }}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
Parent
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{% for parent in diff_commits[loop.index - 1].parents %}
|
|
Pierre-Yves Chibon |
006f93 |
{% if '/fork/' in request.url %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
repo=repo.name, commitid=parent.oid.hex) }}">
|
|
Pierre-Yves Chibon |
006f93 |
{% else %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
repo=repo.name, commitid=parent.oid.hex) }}">
|
|
Pierre-Yves Chibon |
006f93 |
{% endif %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{{ parent.oid.hex }}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{% endfor %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{{ diff_commits[loop.index - 1].message }}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{% autoescape false %}
|
|
Pierre-Yves Chibon |
006f93 |
{{ html_diff }}
|
|
Pierre-Yves Chibon |
006f93 |
{% endautoescape %}
|
|
Pierre-Yves Chibon |
006f93 |
{% endfor %}
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
|
|
Pierre-Yves Chibon |
006f93 |
{% endblock %}
|