mirror of
https://github.com/wekan/wekan.git
synced 2025-12-29 13:48:49 +01:00
Some pages use relative links such as boards link at the home page. Others use absolute url such as cards in boards' lists. This commits goal is to allow for consistent use of relative urls. Origin relative URLs also helps decoupling Wekan from the infrastructure it's deployed on. i.e if it's being served, it should work.
12 lines
462 B
Text
12 lines
462 B
Text
template(name="searchSidebar")
|
|
form.js-search-term-form
|
|
input(type="text" name="searchTerm" placeholder="{{_ 'search-example'}}" autofocus dir="auto")
|
|
.list-body
|
|
.minilists.clearfix.js-minilists
|
|
each (lists)
|
|
a.minilist-wrapper.js-minilist(href=originRelativeUrl)
|
|
+minilist(this)
|
|
.minicards.clearfix.js-minicards
|
|
each (results)
|
|
a.minicard-wrapper.js-minicard(href=originRelativeUrl)
|
|
+minicard(this)
|