Skip to content

Commit

Permalink
fix: acp view category button if category is a link
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Jul 29, 2020
1 parent 52718ce commit 2dfe9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/admin/partials/categories/category-rows.tpl
Expand Up @@ -30,7 +30,7 @@
<li><a href="./categories/{categories.cid}/analytics">[[admin/manage/categories:analytics]]</a></li>
<li><a href="{config.relative_path}/admin/manage/privileges/{categories.cid}">[[admin/manage/categories:privileges]]</a></li>

<li><a href="{config.relative_path}/category/{categories.cid}">[[admin/manage/categories:view-category]]</a></li>
<li><a href="{{{if categories.link}}}{categories.link}{{{else}}}{config.relative_path}/category/{categories.cid}{{{end}}}" target="_blank">[[admin/manage/categories:view-category]]</a></li>

<li>
<a href="#" data-disable-cid="{categories.cid}" data-action="toggle" data-disabled="{categories.disabled}">
Expand Down

0 comments on commit 2dfe9d4

Please sign in to comment.