-
Notifications
You must be signed in to change notification settings - Fork 7
/
article-debate.tpl
181 lines (96 loc) · 6.18 KB
/
article-debate.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{{ include file="_tpl/_html-head.tpl" }}
{{ include file="_tpl/header.tpl" }}
<div id="page" class="container">
<div id="blueimp_fullscreen" class="blueimp-gallery blueimp-gallery-controls">
<div class="slides"></div>
<a class="prev">‹</a>
<a class="next">›</a>
<a class="close">×</a>
<ol class="indicator"></ol>
<div class="caption"></div>
</div>
<!-- Content -->
<section id="content">
<article class="row article_content">
<div class="news_item span12">
{{ image rendition="article" }}
<div class="thumbnail content_text">
<img src="{{ $image->src }}" alt="{{ $image->caption }} (photo: {{ $image->photographer }})" alt="" />
<h6 class="caption span2">{{ $image->caption }}</h6>
</div>
{{/image}}
<div class="content content_text">
<h6 class="info">{{ $gimme->article->publish_date|camp_date_format:"%d.%m.%Y, %H:%i" }}</h6>
<h2 class="title">{{$gimme->article->name}}</h2>
<h6 class="topics">
{{ list_article_topics }}<a href="{{ url options="template topic.tpl" }}">{{ $gimme->topic->name }}</a>{{ if $gimme->current_list->at_end }}</p>{{ else }}, {{ /if }}
{{ /list_article_topics }}
</h6>
{{ include file="_tpl/_edit-article.tpl" }}
<em>{{ $gimme->article->teaser }}</em>
{{ if $gimme->article->content_accessible }}
<div class="span4 article_side_element align_left debate_author">
{{ list_article_authors }}
{{ if $gimme->current_list->index == "1" }}
<figure>
<img rel="resizable" alt="{{ $gimme->author->name }}" src="{{ $gimme->author->picture->imageurl }}" width=97 height=97 />
</figure>
<h5>{{'proArgumentsBy'|translate}}</h5>
<p>{{ if $gimme->author->user->defined }}<a href="{{ $view->url(['username' => $gimme->author->user->uname], 'user') }}">{{ /if }}{{ $gimme->author->name }}{{ if $gimme->author->user->defined }}</a>{{ /if }}</p>
<p class="debate_biography">{{ $gimme->author->biography->text|strip_tags:false|truncate:200 }}</p>
{{ /if }}
{{ /list_article_authors }}
</div>
<h3 class="debate_headline">PRO: {{ $gimme->article->pro_title }}</h3>
{{ $gimme->article->pro_text }}
<div class="span4 article_side_element align_right debate_author">
{{ list_article_authors }}
{{ if $gimme->current_list->index == "2" }}
<figure>
{{ if $gimme->author->user->defined || $gimme->author->picture->imageurl }}
<img rel="resizable" alt="{{ $gimme->author->name }}" src="{{ $gimme->author->picture->imageurl }}" width=97 height=97 />
{{ /if }}
</figure>
<h5>{{'contraArgumentsBy'|translate}}</h5>
<p>{{ if $gimme->author->user->defined }}<a href="{{ $view->url(['username' => $gimme->author->user->uname], 'user') }}">{{ /if }}{{ $gimme->author->name }}{{ if $gimme->author->user->defined }}</a>{{ /if }}</p>
<p class="debate_biography">{{ $gimme->author->biography->text|strip_tags:false|truncate:200 }}</p>
{{ /if }}
{{ /list_article_authors }}
</div>
<h3 class="debate_headline" >CONTRA: {{ $gimme->article->contra_title }}</h3>
{{ $gimme->article->contra_text }}
{{ include file="_tpl/article-slideshow.tpl" }}
{{ include file="_tpl/debate-voting.tpl" }}
<script src="{{ url static_file='_js/socialite.min.js' }}" type="text/javascript"></script>
<div class="social_buttons float_right">
<ul>
<li class="float_right margin_left_5">
<a href="http://twitter.com/share" class="socialite twitter-share" data-text="{{$gimme->article->name|strip_tags|escape}}" data-url="{{url options="article"}}" data-count="vertical" rel="nofollow" target="_blank"><span class="vhidden">Share on Twitter</span></a>
</li>
<li class="float_right margin_left_5">
<a href="https://plus.google.com/share?url={{url options="article"}}" class="socialite googleplus-one" data-size="tall" data-href="{{url options="article"}}" rel="nofollow" target="_blank"><span class="vhidden">Share on Google+</span></a>
</li>
<li class="float_right margin_left_5">
<a href="http://www.facebook.com/sharer.php?u={{url options="article"}}&t={{$gimme->article->name|strip_tags|escape}}" class="socialite facebook-like" data-href="{{url options="article"}}" data-send="false" data-layout="box_count" data-width="60" data-show-faces="false" rel="nofollow" target="_blank"><span class="vhidden">Share on Facebook</span></a>
</li>
</ul>
</div>
<span class="clear"></span>
<script>
jQuery(document).ready(function() {
Socialite.load(".social_buttons");
});
</script>
{{ include file="_tpl/article-comments.tpl" }}
{{ else }}
<p>{{'infoOnLockedArticles'|translate}}</p>
{{ /if }}
</div>
</div>
</article>
{{ render file="_tpl/box-most_tabs.tpl" issue=off section=off cache=600 }}
</section>
<!-- End Content -->
</div>
{{ include file="_tpl/footer.tpl" }}
{{ include file="_tpl/_html-foot.tpl" }}