forked from newscoop/theme-JournalB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
favorites_index.tpl
74 lines (48 loc) · 1.83 KB
/
favorites_index.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{{ include file="_ads/_ismobdevice.tpl" }}
{{ include file="_tpl/_html-head.tpl" }}
<!-- favorites_index.tpl -->
<body id="body" class="front-page">
<div class="prevent-horizontal-scroll">
<div class="container">
<div class="main">
{{ include file="_tpl/header.tpl" }}
<div class="row content">
{{ if $view->articles }}
<div class="newsrows dynrows temprows">
{{ foreach $view->articles as $article }}
{{ $article_section = $article->section->url_name }}
{{ if $article->issue->url_name == "blogs" }} {{ $article_section = "blogs" }} {{ /if }}
{{ if $article->issue->url_name == "dossiers" }} {{ $article_section = "dossiers" }} {{ /if }}
{{ $article_author = "" }}
{{ if $article->authors|@count gt 0 }}
{{ $article_author = "`$article->authors[0]->first_name` `$article->authors[0]->last_name`" }}
{{ /if }}
{{ if $article->frontpage_doubleview or $article->frontpage_image }}
{{ include file="_tpl/newsbox-bgimage-favorites.tpl" }}
{{ else }}
{{ include file="_tpl/newsbox-simple-favorites.tpl" }}
{{ /if }}
{{ /foreach }}
</div>
{{ else }}
<div class="mcontentbar">
{{ if $view->nologin }}
<h3>Bitte melden Sie sich in der Journal-B-Community an, um Artikel zu favorisieren und ein persönliches Archiv anzulegen.</h3>
{{ else }}
<h3>Sie haben noch keine Artikel favorisiert.</h3>
{{ /if }}
</div>
{{ /if }}
</div><!-- /content -->
</div><!-- /main -->
<div class="sidebar">
{{ include file="_tpl/community-header.tpl" }}
<div class="row content">
<div id="community"></div>
{{ include file="_tpl/community-front.tpl" }}
</div>
</div>
{{ include file="_tpl/footer.tpl" }}
</div><!-- /container -->
</div>
{{ include file="_tpl/_html-foot.tpl" }}