summaryrefslogtreecommitdiff
path: root/backend/ikistrap/templates/inlinepage.tmpl
blob: 68972c1532a844def7c7f877bc8b796c9c684143 (plain)
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
<article class="inlinepage card">
	<div class="inlineheader card-header">
		<header title="<TMPL_VAR TITLE>">
			<TMPL_IF PERMALINK>
			<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
			<TMPL_ELSE>
			<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
			</TMPL_IF>
		</header>

		<TMPL_IF HAVE_ACTIONS>
		<div class="inline-actions">
			<ul>
				<TMPL_IF EDITURL>
				<li><a href="<TMPL_VAR EDITURL>" rel="nofollow"><i class="fa fa-pencil"></i>Edit</a></li>
				</TMPL_IF>
				<TMPL_IF COMMENTSLINK>
				<li><TMPL_VAR COMMENTSLINK></li>
				<TMPL_ELSE>
				<TMPL_IF DISCUSSIONLINK>
				<li><TMPL_VAR DISCUSSIONLINK></li>
				</TMPL_IF>
				</TMPL_IF>
			</ul>
		</div>
		</TMPL_IF>
	</div>

	<div class="inlinecontent card-block card-text">
		<TMPL_VAR CONTENT>
	</div>

	<TMPL_IF ENCLOSURE>
	<div id="inlineenclosure">
		<a href="<TMPL_VAR ENCLOSURE>">Download</a>
	</div>
	</TMPL_IF>

	<footer class="inlinefooter card-footer text-muted">
		<div class="pageinfo">
		<span class="pagedate">
			Posted <TMPL_VAR CTIME>
		</span>
		<TMPL_IF AUTHOR>
		by
		<span class="author">
			<TMPL_IF AUTHORURL>
			<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a>
			<TMPL_ELSE>
			<TMPL_VAR AUTHOR>
			</TMPL_IF>
		</span>
		</TMPL_IF>

		<TMPL_IF COPYRIGHT>
		<span class="pagecopyright">
			<TMPL_VAR COPYRIGHT>
		</span>
		</TMPL_IF>

		<TMPL_IF LICENSE>
		<span class="pagelicense">
			License: <TMPL_VAR LICENSE>
		</span>
		</TMPL_IF>
		</div>

		<TMPL_IF TAGS>
		<nav class="tags">
			<i class="fa fa-tag"></i>Tags:
			<TMPL_LOOP TAGS>
			<TMPL_VAR LINK>
			</TMPL_LOOP>
		</nav>
		</TMPL_IF>
	</footer>
</article>