From e4145deeb7a72ac321113fde672e1b499ecb0d2d Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 18 Nov 2015 23:50:42 +0100 Subject: some events refacturing --- view/tpl/event_head.tpl | 85 +++++++++++++++++------------------------------- view/tpl/events-js.tpl | 56 ++++++++++++++++--------------- view/tpl/events_side.tpl | 9 +++++ 3 files changed, 68 insertions(+), 82 deletions(-) create mode 100755 view/tpl/events_side.tpl (limited to 'view/tpl') diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index fd0ef0d9b..5d87caa7c 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -1,6 +1,7 @@ - + + + + // echo the title + var view = $('#events-calendar').fullCalendar('getView'); + $('#title').text(view.title); + -{{if $editselect != 'none'}} - - + + -
-
-
+ + + +
+
+
+
diff --git a/view/tpl/events_side.tpl b/view/tpl/events_side.tpl new file mode 100755 index 000000000..4659063c3 --- /dev/null +++ b/view/tpl/events_side.tpl @@ -0,0 +1,9 @@ +
+

{{$title}}

+ +
-- cgit v1.2.3 From b23284cba28335f61595f2264685b1bbafc19183 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 18 Nov 2015 23:56:25 +0100 Subject: move moment.min.js and remove unneeded files --- view/tpl/event_head.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index 5d87caa7c..d7734af3c 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -1,5 +1,5 @@ - + -- cgit v1.2.3 From ba52af786e0e2f27c36e82df9086dfb8d33d9062 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 19 Nov 2015 11:38:34 +0100 Subject: move today button from aside to section title --- view/tpl/events-js.tpl | 1 + view/tpl/events_side.tpl | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/events-js.tpl b/view/tpl/events-js.tpl index 03c6a5fb6..d481af2e9 100755 --- a/view/tpl/events-js.tpl +++ b/view/tpl/events-js.tpl @@ -6,6 +6,7 @@
+
diff --git a/view/tpl/events_side.tpl b/view/tpl/events_side.tpl index 4659063c3..b9a9062b1 100755 --- a/view/tpl/events_side.tpl +++ b/view/tpl/events_side.tpl @@ -4,6 +4,5 @@
  • {{$month}}
  • {{$week}}
  • {{$day}}
  • -
  • {{$today}}
  • -- cgit v1.2.3 From c7652fc29ce2d69a6d71d6d8a928709cbf6ebbb0 Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Fri, 20 Nov 2015 00:50:54 +0100 Subject: Had to switch these 2. Sorry. --- view/tpl/invite.tpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/invite.tpl b/view/tpl/invite.tpl index 2b7ab9cfb..c39e044bc 100755 --- a/view/tpl/invite.tpl +++ b/view/tpl/invite.tpl @@ -1,3 +1,4 @@ +
    @@ -28,3 +29,4 @@
    + -- cgit v1.2.3 From a3e47d26f617f06b3f9c8221a5240b3387131ddd Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 20 Nov 2015 16:39:55 +0100 Subject: make calendar language aware --- view/tpl/event_head.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index d7734af3c..346dfb154 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -38,7 +38,7 @@ $('#events-calendar').fullCalendar({ events: '{{$baseurl}}/events/json', header: false, - //lang: 'de', + lang: '{{$lang}}', eventLimit: 3, height: 'auto', -- cgit v1.2.3