From 90584316b8f275fcad904b644676544eb0322636 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 19 May 2014 02:22:02 +0200 Subject: add test for firstrun page --- templates/part.content.php | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 templates/part.content.php (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php new file mode 100644 index 000000000..d3a59b08c --- /dev/null +++ b/templates/part.content.php @@ -0,0 +1,3 @@ +
+

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

+
\ No newline at end of file -- cgit v1.2.3 From 0b22611a929fc317c6ad073d2ddf5f198ee836f3 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 23 May 2014 20:19:06 +0200 Subject: more boilerplate --- templates/part.content.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index d3a59b08c..eaf8d925a 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -1,3 +1,12 @@

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

-
\ No newline at end of file + + +
+
    + +
+
    + +
+
-- cgit v1.2.3 From 6dc363a14a1d2b09d72a3f0d3e7bdfd362bad41c Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 26 May 2014 02:01:59 +0200 Subject: render items --- templates/part.content.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index eaf8d925a..18351d453 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -7,6 +7,30 @@ -- cgit v1.2.3 From 88279961c5e2f2bd0711fc4200d58b93b425199e Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 30 May 2014 15:14:07 +0200 Subject: fix autopaging and marking read, render items --- templates/part.content.php | 51 ++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 42 insertions(+), 9 deletions(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index 18351d453..00363f073 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -3,24 +3,30 @@
-
    + +
    -
      -
    • +
        +
      • + ng-class="{read: !item.unread}" + data-id="{{ item.id }}">

        - - {{ getRelativeDate(item.pubDate) }} + + {{ Content.getRelativeDate(item.pubDate) }}

        - + ng-class="{ + 'starred': item.starred + }">

        @@ -28,9 +34,36 @@

        -
        +

        + + t('from')) ?> + {{ Content.getFeed(item.feedId).title }} + + + t('by')) ?> + {{ item.author }} + +

        + +
        + + t('Download')) ?> + +
        + +
        +
        +
          +
        • + + +
        • +
        +
-- cgit v1.2.3 From 06367d8b81407fc2948e0f666b38f4de2dffbd89 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 25 Jun 2014 11:22:08 +0200 Subject: style fixes --- templates/part.content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index 00363f073..55b866f3c 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -48,7 +48,7 @@
+ ng-src="{{ item.enclosureLink|trustUrl }}"> t('Download')) ?>
-- cgit v1.2.3 From cd10f93e0d271840caff92b88195385a2a3f15b2 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 26 Jun 2014 11:33:44 +0200 Subject: style fixes --- templates/part.content.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index 55b866f3c..5b1bcd246 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -59,8 +59,10 @@
  • - - +
-- cgit v1.2.3 From 03baa5ba68daa09110940c416b3cb065a9e9ca7a Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 9 Sep 2014 15:09:34 +0200 Subject: reorganize templates --- templates/part.content.php | 66 +++------------------------------------------- 1 file changed, 4 insertions(+), 62 deletions(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index 5b1bcd246..251a01772 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -2,70 +2,12 @@

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

-
- -
    - +
    +
      + inc('part.content.compact')); ?>
    -
      -
    • - -

      - - {{ Content.getRelativeDate(item.pubDate) }} - -

      - - - -

      - - {{ item.title }} - -

      - -

      - - t('from')) ?> - {{ Content.getFeed(item.feedId).title }} - - - t('by')) ?> - {{ item.author }} - -

      - -
      - - t('Download')) ?> - -
      - - -
      - -
      -
        -
      • - -
      • -
      -
      -
    • + inc('part.content.expand')); ?>
    -- cgit v1.2.3 From daaf87749dae9c70ccd46911a08c6da1d9ad8150 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 9 Sep 2014 18:56:31 +0200 Subject: add css custom classes --- templates/part.content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index 251a01772..b0e39f8d9 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -3,7 +3,7 @@
-
    +
      inc('part.content.compact')); ?>
    -- cgit v1.2.3 From ff528b18df31085263c6362feae89e3dc7f62c1b Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 9 Sep 2014 22:21:40 +0200 Subject: fix settings --- templates/part.content.php | 59 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 54 insertions(+), 5 deletions(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index b0e39f8d9..bc9cfb97e 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -3,11 +3,60 @@
-
    - inc('part.content.compact')); ?> -
+
-- cgit v1.2.3 From 7b3ed892681a44e2739e4062e44c53fa0a904667 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 9 Sep 2014 22:37:31 +0200 Subject: only toggle item if in compact mode --- templates/part.content.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index bc9cfb97e..49d755fc4 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -10,30 +10,31 @@ ng-class="{read: !item.unread}" data-id="{{ item.id }}"> -
+
-- cgit v1.2.3 From 36bacfcc0f53799ba07391bdb44004e9020a2f20 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 10 Sep 2014 17:52:07 +0200 Subject: some pixel pushing --- templates/part.content.php | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index b5c63c439..459ffb88e 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -12,6 +12,15 @@
+
+ t('By')) ?> {{ item.author }} + +
+
@@ -56,7 +57,6 @@
-

© {{ item.author }}

-- cgit v1.2.3 From d8a83b85292a5309576afd1c0325f6103a7d2502 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 10 Sep 2014 18:39:30 +0200 Subject: stylez em hard --- templates/part.content.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index 459ffb88e..34269dc1d 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -7,7 +7,7 @@
  • @@ -38,11 +38,12 @@
    -
    +
    - t('By')) ?> {{ item.author }} -
  • -- cgit v1.2.3 From 793bd2177367c32d205c19950be33a8afc3c76e1 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 11 Sep 2014 14:32:59 +0200 Subject: port to ES5, fix unread count going into minus --- templates/part.content.php | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index b28d0deb2..c0e54def1 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -15,11 +15,7 @@
  • -

    - - {{ item.title }} - -

    +

    {{ item.title }}

  • @@ -41,12 +37,10 @@
    - t('by')) ?> {{ item.author }} - t('from')) ?> {{ Content.getFeed(item.feedId).title }} + datetime="{{ item.pubDate*1000|date:'yyyy-MM-ddTHH:mm:ssZ' }}">{{ Content.getRelativeDate(item.pubDate) }}, + t('by')) ?> {{ item.author }} +
    -- cgit v1.2.3 From 3e313821cf21e6443ab1b75336c8c510d758fa43 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 11 Sep 2014 21:11:42 +0200 Subject: fix autofocus --- templates/part.content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index c0e54def1..c7398a2df 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -2,7 +2,7 @@

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

    -
    +
    • Date: Thu, 11 Sep 2014 22:05:36 +0200 Subject: add collection view --- templates/part.content.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'templates/part.content.php') diff --git a/templates/part.content.php b/templates/part.content.php index c7398a2df..bacb9164b 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -2,12 +2,14 @@

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

    -
    +