Skip to content

Commit

Permalink
wip remove Code For IATI issues raised section from publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Nov 11, 2024
1 parent e8d7adc commit a895cd6
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions dashboard/templates/publisher.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ <h1>Publisher: {{ publisher_name[publisher] }}</h1>
{% if failure_count > 0 %}
<li><a href="#p_validation">Files Failing Validation</a>
{% endif %}
{% if github_issues and publisher in github_issues %}
<li><a href="#p_github_issues">Issues Raised</a>
{% endif %}
{% if 1 in publisher_inverted.invalidxml.values() %}
<li><a href="#p_invalid">Files where XML is not well-formed</a>
{% endif %}
Expand Down Expand Up @@ -243,38 +240,6 @@ <h3 class="panel-title">Files with non-standard roots</h3>

</div><!-- .row -->

{% if github_issues and publisher in github_issues %}
{% set data_quality_issue = true %}
<div class="panel panel-default" id="p_github_issues">
<div class="panel-heading">
<h3 class="panel-title">Issues Raised</h3>
</div>
<div class="panel-body">
<p>Data and metadata issues are raised publicly on <a href="https://github.com/codeforIATI/iati-data-bugtracker/issues">IATI Data Bugtracker</a>. If you spot a problem with IATI data or metadata, please <a href="https://github.com/codeforIATI/iati-data-bugtracker/issues/new/choose">raise an issue</a>.</p>
</div>
<table class="table table-striped exploring-data">
<thead>
<tr>
<th>Title</th>
<th>Labels</th>
<th>Created</th>
<th>Last updated</th>
</tr>
</thead>
<tbody>
{% for issue in github_issues[publisher] %}
<tr>
<td><a href="{{ issue.html_url }}">{{ issue.title }}</a></td>
<td>{% for label in issue.labels %}<span class="label" style="background-color:#{{ label.color }}">{{ label.name }}</span> {% endfor %}</td>
<td>{{ issue.created_at[:10] }}</td>
<td>{{ issue.updated_at[:10] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}

{% if not data_quality_issue %}
<p>No issues were found.</p>
{% endif %}
Expand Down

0 comments on commit a895cd6

Please sign in to comment.