Blame progit/templates/requests.html

Pierre-Yves Chibon c30d42
{% extends "repo_master.html" %}
Pierre-Yves Chibon c30d42
Pierre-Yves Chibon 1a7791
{% block title %}Pull requests - {{ repo.name }}{% endblock %}
Pierre-Yves Chibon c30d42
{%block tag %}home{% endblock %}
Pierre-Yves Chibon c30d42
Pierre-Yves Chibon c30d42
Pierre-Yves Chibon c30d42
{% block repo %}
Pierre-Yves Chibon c30d42
Pierre-Yves Chibon 99e990
Pierre-Yves Chibon 99e990
  

Johan Cwiklinski f66c09
    Pull-requests ({{ requests|count }})
Pierre-Yves Chibon 99e990
  
Pierre-Yves Chibon 99e990
  {% if status and status not in [False, 'Closed'] %}
Pierre-Yves Chibon e580d4
    
Pierre-Yves Chibon e580d4
               repo=repo.name) }}?status=Closed">
Pierre-Yves Chibon 99e990
      (Closed)
Pierre-Yves Chibon 99e990
  {% else %}
Pierre-Yves Chibon e580d4
    
Pierre-Yves Chibon 99e990
                 repo=repo.name) }}">
Pierre-Yves Chibon e580d4
      (Open)
Pierre-Yves Chibon 99e990
  {% endif %}
Pierre-Yves Chibon 99e990
Pierre-Yves Chibon c30d42
Johan Cwiklinski f66c09
Johan Cwiklinski f66c09
    
Johan Cwiklinski f66c09
        
Johan Cwiklinski f66c09
            #
Johan Cwiklinski f66c09
            Title
Johan Cwiklinski f66c09
            Opened by
Johan Cwiklinski f66c09
            Opened on
Johan Cwiklinski f66c09
        
Johan Cwiklinski f66c09
    
Johan Cwiklinski f66c09
    
Johan Cwiklinski f66c09
    
Johan Cwiklinski f66c09
    
Pierre-Yves Chibon c30d42
    {% for request in requests %}
Johan Cwiklinski f66c09
        
Pierre-Yves Chibon ca5280
            #{{ request.id }}
Johan Cwiklinski f66c09
            
Johan Cwiklinski f66c09
                
Pierre-Yves Chibon ca5280
                    repo=repo.name, requestid=request.id) }}">
Pierre-Yves Chibon ca5280
                    {{ request.title }}
Johan Cwiklinski f66c09
                
Johan Cwiklinski f66c09
            
Johan Cwiklinski f66c09
            
Pierre-Yves Chibon ca5280
                
Pierre-Yves Chibon ca5280
                    {{ request.user.user | avatar(16) | safe }}
Pierre-Yves Chibon ca5280
                    {{ request.user.user }}
Johan Cwiklinski f66c09
                
Johan Cwiklinski f66c09
            
Johan Cwiklinski f66c09
            
Pierre-Yves Chibon ca5280
                {{ request.date_created.strftime('%Y-%m-%d %H:%M') }}
Johan Cwiklinski f66c09
            
Pierre-Yves Chibon c30d42
Johan Cwiklinski f66c09
            
Johan Cwiklinski f66c09
        
Johan Cwiklinski f66c09
    {% else %}
Johan Cwiklinski f66c09
        
Johan Cwiklinski f66c09
            No pull-request found
Johan Cwiklinski f66c09
        
Johan Cwiklinski f66c09
    {% endfor %}
Johan Cwiklinski f66c09
    
Johan Cwiklinski f66c09
Pierre-Yves Chibon c30d42
{% endblock %}