Blame progit/templates/commit.html

Pierre-Yves Chibon b0efd3
{% extends "repo_master.html" %}
Pierre-Yves Chibon 2088eb
Mathieu Bridon eaccc4
{% block title %}{{ repo.name }} - {{ commitid }}{% endblock %}
Pierre-Yves Chibon 2088eb
{%block tag %}home{% endblock %}
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon b0efd3
{% block repo %}
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon b0efd3

Pierre-Yves Chibon b0efd3
  Commit: {{ commitid }}
Pierre-Yves Chibon 217a39
  {% if '/fork/' in request.url %}
Pierre-Yves Chibon 217a39
  (
Mathieu Bridon eaccc4
               repo=repo.name, identifier=commitid) }}"
Pierre-Yves Chibon 217a39
    >tree)
Pierre-Yves Chibon 217a39
  {% else %}
Pierre-Yves Chibon a940c2
  (
Mathieu Bridon eaccc4
               repo=repo.name, identifier=commitid) }}"
Pierre-Yves Chibon 12e862
    >tree)
Pierre-Yves Chibon 217a39
  {% endif %}
Pierre-Yves Chibon b0efd3
Pierre-Yves Chibon 480038
Pierre-Yves Chibon 480038
Pierre-Yves Chibon 480038
  
Pierre-Yves Chibon 480038
    Author
Pierre-Yves Chibon 480038
    
Pierre-Yves Chibon 480038
      {{ commit.author.name }} {{ '<' + commit.author.email + '>' }}
Pierre-Yves Chibon 480038
      - {{ commit.commit_time }}
Pierre-Yves Chibon 480038
    
Pierre-Yves Chibon 480038
  
Pierre-Yves Chibon 480038
  
Pierre-Yves Chibon 480038
    Committer
Pierre-Yves Chibon 480038
    
Pierre-Yves Chibon 480038
      {{ commit.committer.name }} {{ '<' + commit.committer.email + '>' }}
Pierre-Yves Chibon 480038
      - {{ commit.commit_time }}
Pierre-Yves Chibon 480038
    
Pierre-Yves Chibon 480038
  
Pierre-Yves Chibon 480038
  
Pierre-Yves Chibon 480038
    Parent
Pierre-Yves Chibon 480038
    
Pierre-Yves Chibon 480038
      {% for parent in commit.parents %}
Pierre-Yves Chibon 217a39
        {% if '/fork/' in request.url %}
Pierre-Yves Chibon 217a39
        
Mathieu Bridon eaccc4
                  repo=repo.name, commitid=parent.oid.hex) }}">
Pierre-Yves Chibon 217a39
        {% else %}
Pierre-Yves Chibon 217a39
        
Mathieu Bridon eaccc4
                  repo=repo.name, commitid=parent.oid.hex) }}">
Pierre-Yves Chibon 217a39
        {% endif %}
Pierre-Yves Chibon 217a39
Pierre-Yves Chibon 480038
        {{ parent.oid.hex }}
Pierre-Yves Chibon 480038
       
Pierre-Yves Chibon 480038
      {% endfor %}
Pierre-Yves Chibon 480038
    
Pierre-Yves Chibon 480038
  
Pierre-Yves Chibon 480038
Pierre-Yves Chibon 480038
Pierre-Yves Chibon 2088eb
<section class="commit_message"></section>
Pierre-Yves Chibon 2088eb
  
Pierre-Yves Chibon 2088eb
    {{ commit.message.split('\n')[0] }}
Pierre-Yves Chibon 2088eb
  
Pierre-Yves Chibon 2088eb
  
Pierre-Yves Chibon 2088eb
    {{ commit.message.split('\n')[1] }}
Pierre-Yves Chibon 2088eb
  
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
<section class="commit_diff"></section>
Pierre-Yves Chibon 2088eb
  

Diff:

Pierre-Yves Chibon 2088eb
  {% autoescape false %}
Pierre-Yves Chibon 2088eb
  {{ html_diff }}
Pierre-Yves Chibon 2088eb
  {% endautoescape %}
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
{% endblock %}