{% set nColNum = 0 %}
{% if column_num is defined %}
{% set nColNum = column_num %}
{% endif %}
{% if not bInFrame and nColNum != 1 and nColNum != 3 %}
{% set sLabelName = translation.translatedTitle %}
{% set sTranslationUrl = translation.url %}
{% set sUrlEnd = '?col='~nColNum %}
{% if(multicolumn_route_params is defined and multicolumn_route_params is not null) %}
{% set sParam = multicolumn_route_params|join(';;') %}
{% set sUrlEnd = sUrlEnd~'&multi='~sParam~'&col='~nColNum %}
{% endif %}
{% set sSubtitle = app.session.get('ui_str')["generic.addcolumnicon"] %}
{% set sParam = 'addcol=1&subtitle='~sSubtitle|url_encode %}
{% set sUrlEnd = sUrlEnd~'&'~sParam %}
{% set sColSpec = '' %}
{% if ref_column_spec is defined and ref_column_spec is not null %}
{% set sColSpec = ref_column_spec %}
{% set sUrlEnd = sUrlEnd~'&colspec='~sColSpec|url_encode %}
{% endif %}
{% set sUrl = path("select_work", {'workID': work.id, 'translationID': translation.id, 'languageID': translation.getLanguage().getId() }) ~ sUrlEnd %}
<li class="nav-item mobile-hide"><a href="JavaScript:Void(0);" class="nav-link" onclick='openNav("{{ app.session.get('ui_str')["popup.swedenborgworkheader"] }}","{{ sUrl }}")' title="{{ sSubtitle }}"><i class="fa-regular fa-square-dashed-circle-plus"></i></a></li>
{% endif %}