Skip to content

Commit

Permalink
Admin theme > edit article: add shortcut to page
Browse files Browse the repository at this point in the history
Added hyperlink to page info of subtitle in article edit view - onclick: return to the page containing that article
  • Loading branch information
kstenschke committed May 25, 2015
1 parent 0427acc commit cc4ab5d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions themes/admin/views/article/article.php
Expand Up @@ -41,8 +41,11 @@

<div class="main subtitle">
<p>
<span class="lite">ID : </span>
<?php echo $id_article; ?>
<a class="button light" href="javascript:void(0)" onclick="$$('a.title.page<?php echo $id_page; ?>')[0].fireEvent('click');">
<span class="tree-img folder open"></span>
<span class="lite">ID : </span>
<?php echo $id_article; ?>
</a>

<?php if( ! empty($breadcrump)) :?>
| <span class="lite"><?php echo lang('ionize_label_article_context_edition'); ?> : </span><?php echo$breadcrump?>
Expand Down Expand Up @@ -432,4 +435,4 @@

<?php endif ;?>

</script>
</script>

0 comments on commit cc4ab5d

Please sign in to comment.