Blame progit/templates/commit.html

Pierre-Yves Chibon b0efd3
{% extends "repo_master.html" %}
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 1a7791
{% block title %}Commit - {{ 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 ea8735
  (
Mathieu Bridon eaccc4
               repo=repo.name, identifier=commitid) }}"
Pierre-Yves Chibon 217a39
    >tree)
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 33db9f
      - {{ commit.commit_time | format_ts}}
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 33db9f
      - {{ commit.commit_time | format_ts }}
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 ea8735
        
Mathieu Bridon eaccc4
                  repo=repo.name, commitid=parent.oid.hex) }}">
Pierre-Yves Chibon ea8735
          {{ parent.oid.hex }}
Pierre-Yves Chibon ea8735
         
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 %}