diff options
| author | Alban Peignier | 2017-12-26 22:01:49 +0100 |
|---|---|---|
| committer | Alban Peignier | 2018-01-05 10:23:29 +0100 |
| commit | a24bf7fc11f35eaacf17dc1e852b555ab29a887a (patch) | |
| tree | 153518f1914b2e72a1ae942c4e6c4337b7810030 | |
| parent | e7755fb38324930358da8ea3c2593846fdf10c50 (diff) | |
| download | chouette-core-a24bf7fc11f35eaacf17dc1e852b555ab29a887a.tar.bz2 | |
Add a link to output.current when available. Refs #5299
| -rw-r--r-- | app/views/workbench_outputs/show.html.slim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/workbench_outputs/show.html.slim b/app/views/workbench_outputs/show.html.slim index a4fd119f8..67dc6e8d4 100644 --- a/app/views/workbench_outputs/show.html.slim +++ b/app/views/workbench_outputs/show.html.slim @@ -5,6 +5,7 @@ - content_for :page_header_content do .row.mb-sm .col-lg-12.text-right + = link_to t('.see_current_output'), referential_path(@workbench.output.current), class: 'btn btn-primary' if @workbench.output&.current = link_to t('merges.actions.create'), new_workbench_merge_path(@workbench), class: 'btn btn-primary' .page_content |
