appscms-tools-theme 1.8.9 → 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,159 +1,159 @@
1
- {% assign file = page.fileName %}
2
- {% assign lang = page.lang %}
3
- {% assign folder = page.folderName %}
4
- {% assign accessData= site.data[folder][lang][file] %}
5
- {% assign compareFiles= accessData.compare_formats %}
6
- {%- for i in compareFiles -%}
7
- {%- if forloop.index ==1 -%}
8
- {%- assign item = i | downcase -%}
9
- {%- assign firstFile = site.data.files[lang][item] -%}
10
- {%- endif -%}
11
- {%- if forloop.index == 2 -%}
12
- {%- assign item = i | downcase -%}
13
- {%- assign secondFile = site.data.files[lang][item] -%}
14
- {%- endif -%}
15
- {%- endfor -%}
16
- {%- if firstFile and secondFile -%}
17
- {%- if firstFile.Format or secondFile.Format -%}
18
- <h2 class="feature-h1 text-left my-4">
19
- {%- if accessData.compareheading -%}
20
- {{accessData.compareheading}}
21
- {%- else -%}
22
- Comparison of {{firstFile.Format}} and
23
- {{secondFile.Format}} file format
24
- {%- endif -%}
25
- </h2>
26
- {%- endif -%}
27
- <table class="table table-bordered ">
28
- <tbody>
29
-
30
- {%- if firstFile.Format or secondFile.Format -%}
31
- <tr>
32
- <th scope="row">Format</th>
33
- <td>{{firstFile.Format}}</td>
34
- <td>{{secondFile.Format}}</td>
35
- </tr>
36
- {%- endif -%}
37
- {%- if firstFile.ShortName or secondFile.ShortName -%}
38
- <tr>
39
- <th scope="row">Short Name</th>
40
- <td>{{firstFile.ShortName}}</td>
41
- <td>{{secondFile.ShortName}}</td>
42
- </tr>
43
- {%- endif -%}
44
-
45
- {%- if firstFile.FullName or secondFile.FullName -%}
46
- <tr>
47
- <th scope="row">Full Name</th>
48
- <td>{{firstFile.FullName}}</td>
49
- <td>{{secondFile.FullName}}</td>
50
- </tr>
51
- {%- endif -%}
52
- {%- if firstFile.Category or secondFile.Category -%}
53
- <tr>
54
- <th scope="row">Category</th>
55
- <td>{{firstFile.Category}}</td>
56
- <td>{{secondFile.Category}}</td>
57
- </tr>
58
- {%- endif -%}
59
- {%- if firstFile.Pros or secondFile.Pros -%}
60
- <tr>
61
- <th scope="row">Pros</th>
62
- <td>{{firstFile.Pros}}</td>
63
- <td>{{secondFile.Pros}}</td>
64
- </tr>
65
- {%- endif -%}
66
- {%- if firstFile.Cons or secondFile.Cons -%}
67
- <tr>
68
- <th scope="row">Cons</th>
69
- <td>{{firstFile.Cons}}</td>
70
- <td>{{secondFile.Cons}}</td>
71
- </tr>
72
- {%- endif -%}
73
- {%- if firstFile.Createdby or secondFile.Createdby -%}
74
- <tr>
75
- <th scope="row">Created by</th>
76
- <td> <a class="software-name" href="{{firstFile.CreatedbyLink}}"> {{firstFile.Createdby}}</a></td>
77
- <td> <a class="software-name" href="{{secondFile.CreatedbyLink}}"> {{secondFile.Createdby}}</a></td>
78
- </tr>
79
- {%- endif -%}
80
- {%- if firstFile.CreatedInYear or secondFile.CreatedInYear -%}
81
- <tr>
82
- <th scope="row">Created in </th>
83
- <td>{{firstFile.CreatedInYear}}</td>
84
- <td>{{secondFile.CreatedInYear}}</td>
85
- </tr>
86
- {%- endif -%}
87
- {%- if firstFile.BasicInformation or secondFile.BasicInformation -%}
88
- <tr>
89
- <th scope="row">Basic information</th>
90
- <td>{{firstFile.BasicInformation}}</td>
91
- <td>{{secondFile.BasicInformation}}</td>
92
- </tr>
93
- {%- endif -%}
94
- {%- if firstFile.DetailedInformation or secondFile.DetailedInformation -%}
95
- <tr>
96
- <th scope="row">Detailed information</th>
97
- <td>{{firstFile.DetailedInformation}}</td>
98
- <td>{{secondFile.DetailedInformation}}</td>
99
- </tr>
100
- {%- endif -%}
101
- {%- if firstFile.Softwaresused or secondFile.Softwaresused -%}
102
- <tr>
103
- <th scope="row">Platform Supported</th>
104
- <td>
105
- {%- for item in firstFile.Softwaresused -%}
106
- <ul class="pl-0">
107
- <li><b>{{item.platform}}</b> </li>
108
- <div class="pl-0 d-flex flex-wrap justify-content-between softwares-section flex-column ">
109
- {%- for data in item.softwares -%}
110
- <div class="d-flex mb-3">
111
- {%- if data.image -%}
112
- <img src={{data.image}} alt="software" loading='lazy' {%- if site.crossorigin -%}
113
- crossorigin {%- endif -%}>
114
- {%- endif -%}
115
- <div>
116
- <a class="d-block software-name" href="{{data.link}}">
117
- <div>{{data.name}}</div>
118
- </a>
119
- <div class="software-value">{{data.type}}</div>
120
- </div>
121
- </div>
122
-
123
- {%- endfor -%}
124
- </div>
125
- </ul>
126
- {%- endfor -%}
127
- </td>
128
- <td>
129
- {%- for item in secondFile.Softwaresused -%}
130
- <ul>
131
- <li><b>{{item.platform}}</b> </li>
132
- <div class="pl-0 d-flex flex-wrap justify-content-between softwares-section flex-column ">
133
- {%- for data in item.softwares -%}
134
- <div class="d-flex mb-3">
135
- {%- if data.image -%}
136
- <img src={{data.image}} alt="software" loading='lazy' {%- if site.crossorigin -%}
137
- crossorigin {%- endif -%}>
138
- {%- endif -%}
139
- <div>
140
- <a class="d-block software-name" href="{{data.link}}">
141
- <div>{{data.name}}</div>
142
- </a>
143
- <div class="software-value">{{data.type}}</div>
144
- </div>
145
- </div>
146
-
147
- {%- endfor -%}
148
- </div>
149
- </ul>
150
- {%- endfor -%}
151
- </td>
152
- </tr>
153
- {%- endif -%}
154
-
155
- </tbody>
156
- </table>
157
- {%- else -%}
158
-
1
+ {% assign file = page.fileName %}
2
+ {% assign lang = page.lang %}
3
+ {% assign folder = page.folderName %}
4
+ {% assign accessData= site.data[folder][lang][file] %}
5
+ {% assign compareFiles= accessData.compare_formats %}
6
+ {%- for i in compareFiles -%}
7
+ {%- if forloop.index ==1 -%}
8
+ {%- assign item = i | downcase -%}
9
+ {%- assign firstFile = site.data.files[lang][item] -%}
10
+ {%- endif -%}
11
+ {%- if forloop.index == 2 -%}
12
+ {%- assign item = i | downcase -%}
13
+ {%- assign secondFile = site.data.files[lang][item] -%}
14
+ {%- endif -%}
15
+ {%- endfor -%}
16
+ {%- if firstFile and secondFile -%}
17
+ {%- if firstFile.Format or secondFile.Format -%}
18
+ <h2 class="feature-h1 text-left my-4">
19
+ {%- if accessData.compareheading -%}
20
+ {{accessData.compareheading}}
21
+ {%- else -%}
22
+ Comparison of {{firstFile.Format}} and
23
+ {{secondFile.Format}} file format
24
+ {%- endif -%}
25
+ </h2>
26
+ {%- endif -%}
27
+ <table class="table table-bordered ">
28
+ <tbody>
29
+
30
+ {%- if firstFile.Format or secondFile.Format -%}
31
+ <tr>
32
+ <th scope="row">Format</th>
33
+ <td>{{firstFile.Format}}</td>
34
+ <td>{{secondFile.Format}}</td>
35
+ </tr>
36
+ {%- endif -%}
37
+ {%- if firstFile.ShortName or secondFile.ShortName -%}
38
+ <tr>
39
+ <th scope="row">Short Name</th>
40
+ <td>{{firstFile.ShortName}}</td>
41
+ <td>{{secondFile.ShortName}}</td>
42
+ </tr>
43
+ {%- endif -%}
44
+
45
+ {%- if firstFile.FullName or secondFile.FullName -%}
46
+ <tr>
47
+ <th scope="row">Full Name</th>
48
+ <td>{{firstFile.FullName}}</td>
49
+ <td>{{secondFile.FullName}}</td>
50
+ </tr>
51
+ {%- endif -%}
52
+ {%- if firstFile.Category or secondFile.Category -%}
53
+ <tr>
54
+ <th scope="row">Category</th>
55
+ <td>{{firstFile.Category}}</td>
56
+ <td>{{secondFile.Category}}</td>
57
+ </tr>
58
+ {%- endif -%}
59
+ {%- if firstFile.Pros or secondFile.Pros -%}
60
+ <tr>
61
+ <th scope="row">Pros</th>
62
+ <td>{{firstFile.Pros}}</td>
63
+ <td>{{secondFile.Pros}}</td>
64
+ </tr>
65
+ {%- endif -%}
66
+ {%- if firstFile.Cons or secondFile.Cons -%}
67
+ <tr>
68
+ <th scope="row">Cons</th>
69
+ <td>{{firstFile.Cons}}</td>
70
+ <td>{{secondFile.Cons}}</td>
71
+ </tr>
72
+ {%- endif -%}
73
+ {%- if firstFile.Createdby or secondFile.Createdby -%}
74
+ <tr>
75
+ <th scope="row">Created by</th>
76
+ <td> <a class="software-name" href="{{firstFile.CreatedbyLink}}"> {{firstFile.Createdby}}</a></td>
77
+ <td> <a class="software-name" href="{{secondFile.CreatedbyLink}}"> {{secondFile.Createdby}}</a></td>
78
+ </tr>
79
+ {%- endif -%}
80
+ {%- if firstFile.CreatedInYear or secondFile.CreatedInYear -%}
81
+ <tr>
82
+ <th scope="row">Created in </th>
83
+ <td>{{firstFile.CreatedInYear}}</td>
84
+ <td>{{secondFile.CreatedInYear}}</td>
85
+ </tr>
86
+ {%- endif -%}
87
+ {%- if firstFile.BasicInformation or secondFile.BasicInformation -%}
88
+ <tr>
89
+ <th scope="row">Basic information</th>
90
+ <td>{{firstFile.BasicInformation}}</td>
91
+ <td>{{secondFile.BasicInformation}}</td>
92
+ </tr>
93
+ {%- endif -%}
94
+ {%- if firstFile.DetailedInformation or secondFile.DetailedInformation -%}
95
+ <tr>
96
+ <th scope="row">Detailed information</th>
97
+ <td>{{firstFile.DetailedInformation}}</td>
98
+ <td>{{secondFile.DetailedInformation}}</td>
99
+ </tr>
100
+ {%- endif -%}
101
+ {%- if firstFile.Softwaresused or secondFile.Softwaresused -%}
102
+ <tr>
103
+ <th scope="row">Platform Supported</th>
104
+ <td>
105
+ {%- for item in firstFile.Softwaresused -%}
106
+ <ul class="pl-0">
107
+ <li><b>{{item.platform}}</b> </li>
108
+ <div class="pl-0 d-flex flex-wrap justify-content-between softwares-section flex-column ">
109
+ {%- for data in item.softwares -%}
110
+ <div class="d-flex mb-3">
111
+ {%- if data.image -%}
112
+ <img src={{data.image}} alt="software" loading='lazy' {%- if site.crossorigin -%}
113
+ crossorigin {%- endif -%}>
114
+ {%- endif -%}
115
+ <div>
116
+ <a class="d-block software-name" href="{{data.link}}">
117
+ <div>{{data.name}}</div>
118
+ </a>
119
+ <div class="software-value">{{data.type}}</div>
120
+ </div>
121
+ </div>
122
+
123
+ {%- endfor -%}
124
+ </div>
125
+ </ul>
126
+ {%- endfor -%}
127
+ </td>
128
+ <td>
129
+ {%- for item in secondFile.Softwaresused -%}
130
+ <ul>
131
+ <li><b>{{item.platform}}</b> </li>
132
+ <div class="pl-0 d-flex flex-wrap justify-content-between softwares-section flex-column ">
133
+ {%- for data in item.softwares -%}
134
+ <div class="d-flex mb-3">
135
+ {%- if data.image -%}
136
+ <img src={{data.image}} alt="software" loading='lazy' {%- if site.crossorigin -%}
137
+ crossorigin {%- endif -%}>
138
+ {%- endif -%}
139
+ <div>
140
+ <a class="d-block software-name" href="{{data.link}}">
141
+ <div>{{data.name}}</div>
142
+ </a>
143
+ <div class="software-value">{{data.type}}</div>
144
+ </div>
145
+ </div>
146
+
147
+ {%- endfor -%}
148
+ </div>
149
+ </ul>
150
+ {%- endfor -%}
151
+ </td>
152
+ </tr>
153
+ {%- endif -%}
154
+
155
+ </tbody>
156
+ </table>
157
+ {%- else -%}
158
+
159
159
  {%- endif -%}