Skip to content
Snippets Groups Projects
Commit 746ff395 authored by Roang's avatar Roang
Browse files

Merge branch 'fix/assembly_website' into 'develop'

plain ui: functional website link on assembly pages, again

Closes #695

See merge request hub/hub!1131
parents c46e8dcc 5b189edf
Branches
Tags
No related merge requests found
...@@ -50,10 +50,10 @@ ...@@ -50,10 +50,10 @@
<div class="hub-tags"> <div class="hub-tags">
{{ tagboxMacro.tag(_("Website") , {{ tagboxMacro.tag(_("Website") ,
icon="globe", icon="globe",
link=assembly.assembly_link.resolved_url, link=assembly.assembly_link,
style="secondary", style="secondary",
target=('_self' if assembly.assembly_link.resolved_url_internal else '_blank'), target='_blank',
rel=('' if assembly.assembly_link.resolved_url_internal else 'external') rel='external'
) }} ) }}
</div> </div>
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment