Merge pull request #5 from DarkflameUniverse/reports-new-to-old

reverse list order while displaying buttons
This commit is contained in:
Aaron Kimbrell
2022-01-18 22:48:54 -06:00
committed by GitHub
2 changed files with 4 additions and 7 deletions

3
Jenkinsfile vendored
View File

@@ -17,6 +17,9 @@ properties([
])
node('worker'){
currentBuild.setDescription(params.BRANCH)
stage('Clone Code'){
checkout([
$class: 'GitSCM',

View File

@@ -12,7 +12,7 @@
<div class="row">
<div class="col">
Items: <br/>
{% for report in reports %}
{% for report in reports|reverse %}
<a role="button" class="btn btn-primary btn btn-block"
href='{{url_for('reports.items_by_date', date=report.date)}}'>
{{report.date}}
@@ -39,9 +39,3 @@
</div>
</div>
{% endblock %}
{% block js %}
{{ super () }}
{% endblock %}