Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-01-26 16:21:50 +0300
committerBernhard Posselt <dev@bernhard-posselt.com>2015-01-26 16:21:50 +0300
commit96af99f1fab62046e96d559f68e1a3e87adef663 (patch)
tree82ea76f3727e868eea9cd335f1697f1e831ecf0a /templates/main.php
parent588397ac207cadd5d8674b15bceaae0ef38d7b6b (diff)
migrate the notes app to owncloud 8
Diffstat (limited to 'templates/main.php')
-rw-r--r--templates/main.php24
1 files changed, 14 insertions, 10 deletions
diff --git a/templates/main.php b/templates/main.php
index 4fbe4435..dc5369e3 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -7,16 +7,20 @@
*/
-\OCP\Util::addScript('notes', 'vendor/markdown/lib/markdown');
-\OCP\Util::addScript('notes', 'vendor/bootstrap/tooltip');
-\OCP\Util::addScript('notes', 'vendor/angular/angular');
-\OCP\Util::addScript('notes', 'vendor/angular-route/angular-route');
-\OCP\Util::addScript('notes', 'vendor/restangular/dist/restangular');
-\OCP\Util::addScript('notes', 'vendor/underscore/underscore');
-\OCP\Util::addScript('notes', 'public/app');
+script('notes', [
+ 'vendor/markdown/lib/markdown',
+ 'vendor/bootstrap/tooltip',
+ 'vendor/angular/angular',
+ 'vendor/angular-route/angular-route',
+ 'vendor/restangular/dist/restangular',
+ 'vendor/underscore/underscore',
+ 'public/app'
+]);
-\OCP\Util::addStyle('notes', 'vendor/bootstrap/tooltip');
-\OCP\Util::addStyle('notes', 'notes');
+style('notes', [
+ 'vendor/bootstrap/tooltip',
+ 'notes'
+]);
?>
@@ -47,7 +51,7 @@
title="<?php p($l->t('Delete note')); ?>"
notes-tooltip
data-placement="bottom"
- ng-click="delete(note.id)"></button>
+ ng-click="delete(note.id)"></button>
</span>
</li>