diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.php | 3 | ||||
-rw-r--r-- | templates/part.content.articleaction.php | 8 | ||||
-rw-r--r-- | templates/part.content.php | 1 |
3 files changed, 12 insertions, 0 deletions
diff --git a/templates/index.php b/templates/index.php index 2abd289ed..7862aab77 100644 --- a/templates/index.php +++ b/templates/index.php @@ -72,6 +72,9 @@ if (defined('DEBUG') && DEBUG === true) { </div> <!-- content --> + <script type="text/ng-template" id="articleaction.html"> + <?php print_unescaped($this->inc('part.content.articleaction')) ?> + </script> <script type="text/ng-template" id="content.html"> <?php print_unescaped($this->inc('part.content')) ?> </script> diff --git a/templates/part.content.articleaction.php b/templates/part.content.articleaction.php new file mode 100644 index 000000000..345458764 --- /dev/null +++ b/templates/part.content.articleaction.php @@ -0,0 +1,8 @@ +<ul class="article-action-plugins"> + <li ng-repeat="plugin in ::plugins" class="util" + id="article-plugin-{{ plugin.id }}" + ng-click="pluginClick(plugin.id, $event, article)" + news-stop-propagation> + <button title="{{ plugin.title }}"></button> + </li> +</ul>
\ No newline at end of file diff --git a/templates/part.content.php b/templates/part.content.php index 3226dc839..b917240aa 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -88,6 +88,7 @@ ?>"> </button> </li> + <li><news-article-actions article="item" /></li> </ul> </div> |