From 778f7b2be62f5573fb437b1c586dad0e19a31ea1 Mon Sep 17 00:00:00 2001 From: Alessandro Cosentino Date: Mon, 2 Sep 2013 23:42:55 -0400 Subject: all the firstrunpage in one commit --- templates/main.php | 11 +++++++++-- templates/part.addnew.php | 9 +++++++-- templates/part.firstrun.php | 3 +++ 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 templates/part.firstrun.php (limited to 'templates') diff --git a/templates/main.php b/templates/main.php index ab70caddf..ecfaa9515 100644 --- a/templates/main.php +++ b/templates/main.php @@ -17,6 +17,8 @@ \OCP\Util::addStyle('news', 'items'); \OCP\Util::addStyle('news', 'settings'); \OCP\Util::addStyle('news', 'showall'); +\OCP\Util::addStyle('news', 'firstrun'); + // stylesheets for different OC versions $version = \OCP\Util::getVersion(); @@ -29,7 +31,7 @@ if($version[0] > 5 || ($version[0] >= 5 && $version[1] >= 80)) { ?> -
+
t('Undo deletion of %s', '{{ getCaption() }}')); ?> @@ -47,7 +49,8 @@ if($version[0] > 5 || ($version[0] >= 5 && $version[1] >= 80)) { inc('part.showall')); ?> -
+
inc('part.settings')) ?>
@@ -58,10 +61,14 @@ if($version[0] > 5 || ($version[0] >= 5 && $version[1] >= 80)) { autopaging: isAutoPaging() }" ng-controller="ItemController" + ng-show="initialized && !feedBusinessLayer.noFeeds()" news-item-scroll="true" item-shortcuts tabindex="-1"> inc("part.items")); ?>
+
+ inc("part.firstrun")); ?> +
diff --git a/templates/part.addnew.php b/templates/part.addnew.php index fe0776101..10511c95d 100644 --- a/templates/part.addnew.php +++ b/templates/part.addnew.php @@ -8,8 +8,13 @@ href="#" oc-click-focus="{ selector: '.add-new-popup input[ng-model=feedUrl]' - }">+ t('Add Website'))?> -
+ }" + ng-class="{opened: initialized && feedBusinessLayer.noFeeds()}" + >+ t('Add Website'))?> + +
+

diff --git a/templates/part.firstrun.php b/templates/part.firstrun.php new file mode 100644 index 000000000..6edf8617e --- /dev/null +++ b/templates/part.firstrun.php @@ -0,0 +1,3 @@ +

+ t('Welcome to the ownCloud News app!')) ?> +

\ No newline at end of file -- cgit v1.2.3