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 80c9f4
                 repo=repo.name, tags=tags, author=author, assignee=assignee) }}">
Pierre-Yves Chibon 556a8e
      (Open)
Pierre-Yves Chibon 76af7a
    {% else %}
Pierre-Yves Chibon 556a8e
      
Pierre-Yves Chibon 80c9f4
                 repo=repo.name, status='Closed', tags=tags, author=author,
Pierre-Yves Chibon 80c9f4
                 assignee=assignee) }}">
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 197165
      
Pierre-Yves Chibon 197165
                 repo=repo.name) }}">
Pierre-Yves Chibon 197165
        <button>Reset all filters</button>
Pierre-Yves Chibon 197165
      
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 80c9f4
               repo=repo.name, tags=tag.tag,
Pierre-Yves Chibon 80c9f4
               author=author, assignee=assignee, status=status) }}"
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 80c9f4
                repo=repo.name, tags=tags, assignee=assignee,
Pierre-Yves Chibon 80c9f4
                status=status) }}">reset)
Pierre-Yves Chibon 3b98ba
            
Johan Cwiklinski dc6f2a
            Opened on
Pierre-Yves Chibon 74f758
            
Pierre-Yves Chibon 74f758
              Assigned to (
Pierre-Yves Chibon 80c9f4
                repo=repo.name, tags=tags, author=author,
Pierre-Yves Chibon 80c9f4
                status=status) }}">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 80c9f4
                    repo=repo.name, author=issue.user.user,
Pierre-Yves Chibon b40671
                    tags=tags, assignee=assignee, status=status) }}"
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 80c9f4
                repo=repo.name, assignee=issue.assignee.username,
Pierre-Yves Chibon b40671
                tags=tags, author=author, status=status) }}"
Pierre-Yves Chibon 32c9e8
                title="Filter issues by assignee">
Pierre-Yves Chibon 74ffe9
                {{ issue.assignee.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 80c9f4
                repo=repo.name, tags=tags, author=author, status=status) }}">(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 %}