Fixed example tag usages not showing up
This commit is contained in:
parent
a7c6e9f043
commit
cd688b25a3
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,7 @@ App.Presenters.TagPresenter = function(
|
||||||
privileges.canViewHistory = auth.hasPrivilege(auth.privileges.viewHistory);
|
privileges.canViewHistory = auth.hasPrivilege(auth.privileges.viewHistory);
|
||||||
privileges.canDelete = auth.hasPrivilege(auth.privileges.deleteTags);
|
privileges.canDelete = auth.hasPrivilege(auth.privileges.deleteTags);
|
||||||
privileges.canMerge = auth.hasPrivilege(auth.privileges.mergeTags);
|
privileges.canMerge = auth.hasPrivilege(auth.privileges.mergeTags);
|
||||||
|
privileges.canViewPosts = auth.hasPrivilege(auth.privileges.viewPosts);
|
||||||
|
|
||||||
promise.wait(
|
promise.wait(
|
||||||
util.promiseTemplate('tag'),
|
util.promiseTemplate('tag'),
|
||||||
|
@ -162,6 +163,7 @@ App.Presenters.TagPresenter = function(
|
||||||
util: util,
|
util: util,
|
||||||
post: post,
|
post: post,
|
||||||
query: {query: tag.name},
|
query: {query: tag.name},
|
||||||
|
canViewPosts: privileges.canViewPosts,
|
||||||
}) + '</li>');
|
}) + '</li>');
|
||||||
$target.append($post);
|
$target.append($post);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue