Skip to content

Commit

Permalink
change the 'open issue' links to point to the template
Browse files Browse the repository at this point in the history
  • Loading branch information
Will-Cooper committed Oct 19, 2023
1 parent 6003b4d commit e7c1c98
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 17 deletions.
5 changes: 3 additions & 2 deletions simple_app/templates/coordinate_query.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ <h2 class="display-3">Results for: {{ query|safe }}</h2>
{% endif %}
<p class="display-6">{{ results|safe if results is not none }}</p>
{% if query != '' %}
<p class="display-6">Are we missing an expected result? Please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new" target="_blank">issue</a>!</p>
<p class="display-6">Are we missing any expected data? Please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">
issue</a>!</p>
{% endif %}
</div>
<script>
Expand Down
5 changes: 3 additions & 2 deletions simple_app/templates/full_text_search.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ <h3 class="display-4">{{ tabname|safe }}</h3>
</div>
{% endfor %}
{% if query != '' %}
<p class="display-6">Are we missing an expected result? Please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new" target="_blank">issue</a>!</p>
<p class="display-6">Are we missing any expected data? Please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">
issue</a>!</p>
{% endif %}
</div>
<script>
Expand Down
5 changes: 3 additions & 2 deletions simple_app/templates/raw_query.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ <h2 class="display-3">Results:</h2>
{% endif %}
<p class="display-6">{{ results|safe if results is not none }}</p>
{% if query != '' %}
<p class="display-6">Are we missing an expected result? Please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new" target="_blank">issue</a>!</p>
<p class="display-6">Are we missing any expected data? Please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">
issue</a>!</p>
{% endif %}
</div>
<script>
Expand Down
5 changes: 3 additions & 2 deletions simple_app/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ <h2 class="display-3">Results for: {{ query|safe }}</h2>
{% endif %}
<p class="display-6">{{ results|safe if results is not none }}</p>
{% if query != '' %}
<p class="display-6">Are we missing an expected result? Please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new" target="_blank">issue</a>!</p>
<p class="display-6">Are we missing any expected data? Please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">
issue</a>!</p>
{% endif %}
</div>
<script>
Expand Down
19 changes: 10 additions & 9 deletions simple_app/templates/solo_result.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ <h1 class="display-2">
</div>
</div>
<p class="display-6">Are we missing any expected data? Please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new" target="_blank">issue</a>!</p>
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">
issue</a>!</p>
<div class="row table-responsive">
{% if everything.sources %}
<h2 class="display-3"><a href="{{ url_for('create_file_for_download', key='Sources') }}">Sources</a></h2>
Expand Down Expand Up @@ -62,7 +63,7 @@ <h2 class="display-4">Photometry</h2>
<p class="display-6">
No Photometry for {{ query|safe }} in the SIMPLE Archive.
If some exists and should be ingested, please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new/choose" target="_blank"> issue</a>.
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">issue</a>.
</p>
{% endif %}
</div>
Expand All @@ -82,7 +83,7 @@ <h2 class="display-4">Spectra</h2>
<p class="display-6">
No Spectra for {{ query|safe }} in the SIMPLE Archive.
If some exist and should be ingested, please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new/choose" target="_blank"> issue</a>.
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">issue</a>.
</p>
{% endif %}
</div>
Expand All @@ -99,7 +100,7 @@ <h2 class="display-4">Spectral Types</h2>
<p class="display-6">
No Spectral Types for {{ query|safe }} in the SIMPLE Archive.
If some exist and should be ingested, please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new/choose" target="_blank"> issue</a>.
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">issue</a>.
</p>
{% endif %}
</div>
Expand All @@ -116,7 +117,7 @@ <h2 class="display-4">Radial Velocities</h2>
<p class="display-6">
No Radial Velocities for {{ query|safe }} in the SIMPLE Archive.
If some exist and should be ingested, please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new/choose" target="_blank"> issue</a>.
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">issue</a>.
</p>
{% endif %}
</div>
Expand All @@ -133,7 +134,7 @@ <h2 class="display-4">Parallaxes</h2>
<p class="display-6">
No Parallaxes for {{ query|safe }} in the SIMPLE Archive.
If some exist and should be ingested, please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new/choose" target="_blank"> issue</a>.
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">issue</a>.
</p>
{% endif %}
</div>
Expand All @@ -150,7 +151,7 @@ <h2 class="display-4">Proper Motions</h2>
<p class="display-6">
No Proper Motions for {{ query|safe }} in the SIMPLE Archive.
If some exist and should be ingested, please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new/choose" target="_blank"> issue</a>.
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">issue</a>.
</p>
{% endif %}
</div>
Expand All @@ -167,7 +168,7 @@ <h2 class="display-4">Gravities</h2>
<p class="display-6">
No Gravities for {{ query|safe }} in the SIMPLE Archive.
If some exists and should be ingested, please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new/choose" target="_blank"> issue</a>.
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">issue</a>.
</p>
{% endif %}
</div>
Expand All @@ -184,7 +185,7 @@ <h2 class="display-4">Gravities</h2>
<p class="display-6">
No Companion Relationships for {{ query|safe }} in the SIMPLE Archive.
If some exists and should be ingested, please open an
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new/choose" target="_blank"> issue</a>.
<a href="https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/new?assignees=&labels=data+ingestion&projects=&template=missing-source.md&title=Ingest+request%3A+%3Csource+name%3E" target="_blank">issue</a>.
</p>
{% endif %}
</div>
Expand Down

0 comments on commit e7c1c98

Please sign in to comment.