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 %}
Johan Cwiklinski dc6f2a
    Issues ({{ issues|count }})
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 d75517
Pierre-Yves Chibon 8504d0
    <aside id="issue_action"></aside>
Pierre-Yves Chibon 8504d0
      
Pierre-Yves Chibon 8504d0
                               repo=repo.name) }}" method="get">
Pierre-Yves Chibon 8504d0
          <select name="tags"></select>
Pierre-Yves Chibon 15f771
            <option></option>
Pierre-Yves Chibon 8504d0
            {% for tag in tag_list %}
Pierre-Yves Chibon 8504d0
            
Pierre-Yves Chibon 8504d0
                if tags and tag.tag in tags %} selected {% endif %}>{{ tag.tag }}
Pierre-Yves Chibon 8504d0
            {% endfor %}
Pierre-Yves Chibon 8504d0
          
Pierre-Yves Chibon 8504d0
          <input class="submit positive button" type="submit" value="Filter">
Pierre-Yves Chibon 8504d0
      
Pierre-Yves Chibon 8504d0
Pierre-Yves Chibon 8504d0
      
Pierre-Yves Chibon 8504d0
        <button>Create new issue</button>
Pierre-Yves Chibon 8504d0
      
Pierre-Yves Chibon 8504d0
    
Johan Cwiklinski dc6f2a
Pierre-Yves Chibon 0c5c23
Pierre-Yves Chibon f79173
<section id="tags"></section>
Pierre-Yves Chibon f79173
    Tags:
Pierre-Yves Chibon f79173
    {% for tag in tag_list %}
Pierre-Yves Chibon f79173
    
Pierre-Yves Chibon 32c9e8
               repo=repo.name, tags=tag.tag) }}"
Pierre-Yves Chibon 32c9e8
               title="Filter issues by tag">
Pierre-Yves Chibon f79173
        {{ tag.tag }}{% if not loop.last %},{% endif %}
Pierre-Yves Chibon f79173
    {% endfor %}
Pierre-Yves Chibon f79173
Pierre-Yves Chibon f79173
Johan Cwiklinski f66c09
Johan Cwiklinski dc6f2a
    
Johan Cwiklinski dc6f2a
        
Johan Cwiklinski dc6f2a
            #
Johan Cwiklinski dc6f2a
            Title
Pierre-Yves Chibon 3b98ba
            
Pierre-Yves Chibon 3b98ba
                Opened by (
Pierre-Yves Chibon 3b98ba
                repo=repo.name) }}">reset)
Pierre-Yves Chibon 3b98ba
            
Johan Cwiklinski dc6f2a
            Opened on
Pierre-Yves Chibon 74f758
            
Pierre-Yves Chibon 74f758
              Assigned to (
Pierre-Yves Chibon 74f758
                repo=repo.name) }}">reset)
Pierre-Yves Chibon 74f758
            
Johan Cwiklinski dc6f2a
        
Johan Cwiklinski dc6f2a
    
Johan Cwiklinski dc6f2a
    
Johan Cwiklinski dc6f2a
    
Johan Cwiklinski dc6f2a
    
Pierre-Yves Chibon d75517
    {% for issue in issues %}
Johan Cwiklinski dc6f2a
        
Pierre-Yves Chibon 890482
            #{{ issue.id }}
Johan Cwiklinski dc6f2a
            
Johan Cwiklinski dc6f2a
                
Pierre-Yves Chibon 890482
                    repo=repo.name, issueid=issue.id) }}">
Pierre-Yves Chibon 890482
                    {{ issue.title }}
Johan Cwiklinski dc6f2a
                
Johan Cwiklinski dc6f2a
            
Johan Cwiklinski dc6f2a
            
Pierre-Yves Chibon 3b98ba
                
Pierre-Yves Chibon 890482
                    repo=repo.name, author=issue.user.user) }}"
Pierre-Yves Chibon 32c9e8
                    title="Filter issues by reporter">
Pierre-Yves Chibon 890482
                    {{ issue.user.user | avatar(16) | safe }}
Pierre-Yves Chibon 890482
                    {{issue.user.user}}
Johan Cwiklinski dc6f2a
                
Johan Cwiklinski dc6f2a
            
Johan Cwiklinski dc6f2a
            
Pierre-Yves Chibon 890482
                {{ issue.date_created.strftime('%Y-%m-%d %H:%M') }}
Johan Cwiklinski dc6f2a
            
Pierre-Yves Chibon 74f758
            
Pierre-Yves Chibon 890482
              {% if issue.assignee %}
Pierre-Yves Chibon 74f758
              
Pierre-Yves Chibon 890482
                repo=repo.name, assignee=issue.assignee.username) }}"
Pierre-Yves Chibon 32c9e8
                title="Filter issues by assignee">
Pierre-Yves Chibon 890482
                {{ issue.user.user | avatar(16) | safe }}
Pierre-Yves Chibon 890482
                {{ issue.assignee.user }}
Pierre-Yves Chibon 74f758
              
Pierre-Yves Chibon 6c6fc6
              {% else %}
Pierre-Yves Chibon 6c6fc6
              
Pierre-Yves Chibon 6c6fc6
                repo=repo.name, assignee=0) }}">(unassigned)
Pierre-Yves Chibon 74f758
              {% endif %}
Johan Cwiklinski dc6f2a
            
Johan Cwiklinski dc6f2a
        
Johan Cwiklinski dc6f2a
    {% else %}
Johan Cwiklinski dc6f2a
        
Pierre-Yves Chibon 78e539
            No issues found
Johan Cwiklinski dc6f2a
        
Pierre-Yves Chibon d75517
    {% endfor %}
Johan Cwiklinski dc6f2a
    
Johan Cwiklinski dc6f2a
Pierre-Yves Chibon d75517
Pierre-Yves Chibon d75517
{% endblock %}