Skip to content

Commit

Permalink
Adds help links to manage cats,tags, & comments [#672]
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Jul 28, 2012
1 parent 82064d0 commit 730850b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
11 changes: 10 additions & 1 deletion framework/modules/core/views/expCat/manage.tpl
Expand Up @@ -16,7 +16,16 @@
{uniqueid assign="id"}

<div class="module expcat manage">
<h1>{"Manage Categories"|gettext}</h1>
<div class="info-header">
<div class="related-actions">
{if !empty($page)}
{help text="Get Help"|gettext|cat:" "|cat:("Managing Categories"|gettext) module="manage-categories"}
{else}
{help text="Get Help"|gettext|cat:" "|cat:("Managing Categories"|gettext) module="manage-site-categories"}
{/if}
</div>
<h1>{"Manage Categories"|gettext}</h1>
</div>
{permissions}
{if $permissions.create == 1}
<a class="add" href="{link controller=$model_name action=edit rank=1}">{"Create a new Category"|gettext}</a>
Expand Down
7 changes: 6 additions & 1 deletion framework/modules/core/views/expComment/manage.tpl
Expand Up @@ -18,7 +18,12 @@
{/css}

<div class="module expcomment manage">
<h1>{"Manage Comments"|gettext}</h1>
<div class="info-header">
<div class="related-actions">
{help text="Get Help"|gettext|cat:" "|cat:("Managing Comments"|gettext) module="manage-comments"}
</div>
<h1>{"Manage Comments"|gettext}</h1>
</div>
{form name="bulk_process" action=bulk_process}
{control type=hidden name=mod value=$page->model}
{$page->links}
Expand Down
7 changes: 6 additions & 1 deletion framework/modules/core/views/expTag/manage.tpl
Expand Up @@ -14,7 +14,12 @@
*}

<div class="module expTags manage">
<h1>{"Manage Tags"|gettext}</h1>
<div class="info-header">
<div class="related-actions">
{help text="Get Help"|gettext|cat:" "|cat:("Managing Tags"|gettext) module="manage-tags"}
</div>
<h1>{"Manage Tags"|gettext}</h1>
</div>
{permissions}
{if $permissions.create == 1}
{*<a class="add" href="{link controller=$model_name action=create}">{"Create a new Tag"|gettext}</a>*}
Expand Down
7 changes: 6 additions & 1 deletion framework/modules/core/views/expTag/manage_module.tpl
Expand Up @@ -14,7 +14,12 @@
*}

<div class="module expTags manage yui-content yui3-skin-sam">
<h1>{"Manage Module Tags"|gettext}</h1>
<div class="info-header">
<div class="related-actions">
{help text="Get Help"|gettext|cat:" "|cat:("Managing Tags"|gettext) module="manage-tags"}
</div>
<h1>{"Manage Module Tags"|gettext}</h1>
</div>
{permissions}
{if $permissions.create == 1}
{*<a class="add" href="{link controller=$model_name action=create}">{"Create a new Tag"|gettext}</a>*}
Expand Down

0 comments on commit 730850b

Please sign in to comment.