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 6ff129
          #{{ issue.id }}
    Pierre-Yves Chibon 556a8e
          
    Pierre-Yves Chibon d75517
                    repo=repo.name, issueid=issue.id) }}">
    Pierre-Yves Chibon d75517
            {{ issue.title }}
    Pierre-Yves Chibon d75517
          
    Pierre-Yves Chibon 82529e
           Opened by
    Pierre-Yves Chibon 25bb34
          
    Pierre-Yves Chibon 25bb34
          {{issue.user.user}}
    Pierre-Yves Chibon 82529e
           on {{ issue.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 %}