Commit 0f7d3e3a authored by Robert Lyon's avatar Robert Lyon Committed by Cecilia Vela Gurovic
Browse files

Bug 1767867: Using correct base url for My tags 'Search results for' link



behatnotneeded

Change-Id: I0eef9a361cda68ca6274d64308354dc239cc46bc
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit c185b03d)
(cherry picked from commit 7d37d9b2)
parent 263eb365
......@@ -17,7 +17,7 @@
</div>
<div id="results_container" class="panel panel-default tag-results">
<h2 id="results_heading" class="panel-heading">{str tag=searchresultsfor}
<a class="tag secondary-link" href="{$WWWROOT}tags.php{if $tag}{$results->queryprefix}tag={$tag|urlencode|safe}{/if}">{if $tag}{$tag|str_shorten_text:50}{else}{str tag=alltags}{/if}</a>
<a class="tag secondary-link" href="{$results->baseurl}">{if $tag}{$tag|str_shorten_text:50}{else}{str tag=alltags}{/if}</a>
</h2>
<div class="btn-top-right btn-group btn-group-top">
<a class="btn btn-default edit-tag{if !$tag} hidden{/if}" href="{$WWWROOT}edittags.php?tag={$tag|urlencode|safe}"><span class="icon icon-pencil left" role="presentation" aria-hidden="true"></span>{str tag=editthistag}</a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment