~netlandish/links

7960f431e45fe62a850ba2fe701f19033afd95df — Yader Velasquez 9 months ago 9ebcca0
Fix base link using currentOrg var
1 files changed, 2 insertions(+), 2 deletions(-)

M templates/base.html
M templates/base.html => templates/base.html +2 -2
@@ 89,7 89,7 @@
                </a>
              </li>
              <li>
                  <a class="menu-item{{if eq .navFlag "listing"}} menu-item--active{{end}}" href="{{reverse "list:listing_list" .org.Slug}}">
                  <a class="menu-item{{if eq .navFlag "listing"}} menu-item--active{{end}}" href="{{reverse "list:listing_list" .currentOrg}}">
                  <svg class="menu-item__icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
                    <path stroke-linecap="round" stroke-linejoin="round" d="M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zM3.75 12h.007v.008H3.75V12zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm-.375 5.25h.007v.008H3.75v-.008zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z" />
                  </svg>


@@ 97,7 97,7 @@
                </a>
              </li>
              <li>
                <a class="menu-item{{if eq .navFlag "short"}} menu-item--active{{end}}" href="{{reverse "short:link_short_list" .org.Slug}}">
                <a class="menu-item{{if eq .navFlag "short"}} menu-item--active{{end}}" href="{{reverse "short:link_short_list" .currentOrg}}">
                  <svg class="menu-item__icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
                    <path stroke-linecap="round" stroke-linejoin="round" d="M3.75 12h16.5m-16.5 3.75h16.5M3.75 19.5h16.5M5.625 4.5h12.75a1.875 1.875 0 010 3.75H5.625a1.875 1.875 0 010-3.75z" />
                  </svg>