Blame progit/templates/issues.html

Pierre-Yves Chibon d75517
{% extends "repo_master.html" %}
Pierre-Yves Chibon d75517
Pierre-Yves Chibon 1a7791
{% block title %}Issues - {{ repo.name }}{% endblock %}
Pierre-Yves Chibon d75517
{%block tag %}home{% endblock %}
Pierre-Yves Chibon d75517
Pierre-Yves Chibon d75517
Pierre-Yves Chibon d75517
{% block repo %}
Pierre-Yves Chibon d75517
Pierre-Yves Chibon 76af7a
Pierre-Yves Chibon 76af7a
  

Pierre-Yves Chibon f00d84
    {% if status and status != 'Open' %}
Pierre-Yves Chibon 76af7a
    Closed
Pierre-Yves Chibon f00d84
    {% endif %}
Pierre-Yves Chibon 76af7a
    Issues
Pierre-Yves Chibon 76af7a
  
Pierre-Yves Chibon f00d84
    {% if status and status != 'Open' %}
Pierre-Yves Chibon 556a8e
      
Pierre-Yves Chibon 556a8e
                 repo=repo.name) }}">
Pierre-Yves Chibon 556a8e
      (Open)
Pierre-Yves Chibon 76af7a
    {% else %}
Pierre-Yves Chibon 556a8e
      
Pierre-Yves Chibon 556a8e
                 repo=repo.name) }}?status=Closed">
Pierre-Yves Chibon 556a8e
      (Closed)
Pierre-Yves Chibon 76af7a
    {% endif %}
Pierre-Yves Chibon 76af7a
Pierre-Yves Chibon d75517
Pierre-Yves Chibon 0c5c23
Pierre-Yves Chibon 556a8e
    
Pierre-Yves Chibon 556a8e
      <button>Create new issue</button>
Pierre-Yves Chibon 0c5c23
    
Pierre-Yves Chibon 0c5c23
Pierre-Yves Chibon 0c5c23
Pierre-Yves Chibon d75517
<section class="issues_list"></section>
Pierre-Yves Chibon d75517
  {% if issues %}
Pierre-Yves Chibon d75517
  
    Pierre-Yves Chibon d75517
        {% for issue in issues %}
    Pierre-Yves Chibon d75517
        
  • Pierre-Yves Chibon 25c77b
          #{{ issue[1] }}
    Pierre-Yves Chibon 556a8e
          
    Pierre-Yves Chibon 0983fd
                    repo=repo.name, issueid=issue[1]) }}">
    Pierre-Yves Chibon 0983fd
            {{ issue[0].title }}
    Pierre-Yves Chibon d75517
          
    Pierre-Yves Chibon 82529e
           Opened by
    Pierre-Yves Chibon 0983fd
          
    Pierre-Yves Chibon 0983fd
          {{issue[0].user.user}}
    Pierre-Yves Chibon 0983fd
           on {{ issue[0].date_created.strftime('%Y-%m-%d %H:%M') }}
    Pierre-Yves Chibon d75517
        
    Pierre-Yves Chibon d75517
        {% endfor %}
    Pierre-Yves Chibon d75517
      
    Pierre-Yves Chibon d75517
      {% else %}
    Pierre-Yves Chibon d75517
      

    Pierre-Yves Chibon d75517
        No issues have been opened for this project.
    Pierre-Yves Chibon d75517
      

    Pierre-Yves Chibon d75517
      {% endif %}
    Pierre-Yves Chibon d75517
    Pierre-Yves Chibon d75517
    Pierre-Yves Chibon d75517
    {% endblock %}