Skip to content

Commit

Permalink
Added source page buttons for Fink and Data Central DAS (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddobie authored Sep 6, 2023
1 parent f2c207c commit e46b79e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

#### Added

- Added links to Data Central DAS and the Fink Broker to the source page [#697](https://github.com/askap-vast/vast-pipeline/pull/697/)
- Added `n_new_sources` column to run model to store the number of new sources in a pipeline run [#676](https://github.com/askap-vast/vast-pipeline/pull/676).
- Added `MAX_CUTOUT_IMAGES` to the pipeline settings to limit the number of postage stamps displayed on the source detail page [#658](https://github.com/askap-vast/vast-pipeline/pull/658).
- Added run config option to skip calculating measurement pair metrics [#655](https://github.com/askap-vast/vast-pipeline/pull/655).
Expand Down Expand Up @@ -105,6 +106,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

#### List of PRs

- [#697](https://github.com/askap-vast/vast-pipeline/pull/697/): feat: Added links to Data Central DAS and the Fink Broker to the source page
- [#685](https://github.com/askap-vast/vast-pipeline/pull/685): docs: Updated `runpipeline` section on CLI docs.
- [#676](https://github.com/askap-vast/vast-pipeline/pull/676): Removed home counts and new source count.
- [#665](https://github.com/askap-vast/vast-pipeline/pull/665): Update Gr1N/setup-poetry to v7.
Expand Down
16 changes: 16 additions & 0 deletions templates/source_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@
<h1 class="h3 mb-2 text-gray-800"><strong>Source:</strong> {{ source.name }}</h1>
<div class="">
{% include 'source_fav_button.html' %}
<a href="https://das.datacentral.org.au/das?RA={{ source.aladin_ra|floatformat:6 }}&DEC={{ source.aladin_dec|floatformat:6 }}&FOV=2.0&ERR=10.0"
class="d-none d-sm-inline-block btn btn-sm btn-info btn-icon-split shadow-sm" target="_blank"
title="Data Central cone search with a 10 arcsec radius.">
<span class="icon text-white-600">
<i class="fas fa-info-circle fa-sm"></i>
</span>
<span class="text">DAS</span>
</a>
<a href="http://simbad.u-strasbg.fr/simbad/sim-coo?CooEpoch=2000&Coord={{ source.aladin_ra|floatformat:6 }}d{{ source.aladin_dec|floatformat:6 }}d&Radius.unit=arcmin&CooEqui=2000&CooFrame=FK5&Radius=2'"
class="d-none d-sm-inline-block btn btn-sm btn-info btn-icon-split shadow-sm" target="_blank"
title="SIMBAD cone search with 2 arcmin radius.">
Expand All @@ -63,6 +71,14 @@ <h1 class="h3 mb-2 text-gray-800"><strong>Source:</strong> {{ source.name }}</h1
</span>
<span class="text">ZTF</span>
</a>
<a href="https://fink-portal.org/?query_type=Conesearch&ra={{ source.aladin_ra|floatformat:6 }}&dec={{ source.aladin_dec|floatformat:6 }}&radius=10.0"
class="d-none d-sm-inline-block btn btn-sm btn-info btn-icon-split shadow-sm" target="_blank"
title="Fink cone search with a 10 arcsec radius.">
<span class="icon text-white-600">
<i class="fas fa-info-circle fa-sm"></i>
</span>
<span class="text">Fink</span>
</a>
{% if source_previous_id %}
<a href="{% url 'vast_pipeline:source_detail' source_previous_id %}" class="d-none d-sm-inline-block btn btn-sm btn-light btn-icon-split shadow-sm">
<span class="icon text-gray-600">
Expand Down

0 comments on commit e46b79e

Please sign in to comment.