diff options
| author | Teddy Wing | 2017-06-14 18:35:41 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-06-14 18:35:41 +0200 | 
| commit | 8c9eb5e1108f4d7e182c9984d667ed7cf4adc006 (patch) | |
| tree | 92c7fbd9052ce850ac16721e11a601cb68574b11 | |
| parent | 5fe14f119953f3eaf5a948ea67e9070ba3d3aac0 (diff) | |
| download | chouette-core-8c9eb5e1108f4d7e182c9984d667ed7cf4adc006.tar.bz2 | |
workbenches/show.html.slim: Remove duplicate links in `table_builder`
Now that we have the [:archive, :unarchive, :delete] links present in
`ReferentialDecorator#action_links`, we don't need to include them here.
Otherwise the links are duplicated between the custom links defined here
and those that come from the `ReferentialDecorator`.
Refs #3479
| -rw-r--r-- | app/views/workbenches/show.html.slim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/views/workbenches/show.html.slim b/app/views/workbenches/show.html.slim index 3c2bb26ec..6dec68f7a 100644 --- a/app/views/workbenches/show.html.slim +++ b/app/views/workbenches/show.html.slim @@ -58,7 +58,7 @@                ) \              ],              selectable: true, -            links: [:show, :edit, :archive, :unarchive, :delete], +            links: [:show, :edit],              cls: 'table has-filter has-search'            / [:delete], | 
