fabulator-exhibit 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +8 -0
- data/VERSION +1 -1
- data/lib/fabulator/exhibit.rb +1 -0
- data/xslt/exhibit-html.xsl +10 -4
- metadata +4 -4
data/History.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/lib/fabulator/exhibit.rb
CHANGED
data/xslt/exhibit-html.xsl
CHANGED
@@ -133,6 +133,7 @@
|
|
133
133
|
<xsl:attribute name="ex:role">facet</xsl:attribute>
|
134
134
|
<xsl:attribute name="id"><xsl:value-of select="generate-id(.)" /></xsl:attribute>
|
135
135
|
<xsl:attribute name="ex:expression"><xsl:value-of select="@ex:select" /></xsl:attribute>
|
136
|
+
<xsl:attribute name="ex:showMissing"><xsl:value-of select="@ex:show-missing" /></xsl:attribute>
|
136
137
|
<xsl:attribute name="ex:facetClass">List</xsl:attribute>
|
137
138
|
<xsl:attribute name="ex:facetLabel"><xsl:value-of select="ex:caption" /></xsl:attribute>
|
138
139
|
</div>
|
@@ -186,10 +187,8 @@
|
|
186
187
|
<xsl:if test="ex:caption">
|
187
188
|
<span class="exhibit-lens-property-name"><xsl:value-of select="ex:caption" /></span>
|
188
189
|
</xsl:if>
|
189
|
-
<span class="exhibit-lens-property-
|
190
|
-
<
|
191
|
-
<xsl:attribute xsl:name="ex:content"><xsl:value-of select="@ex:select" /></xsl:attribute>
|
192
|
-
</span>
|
190
|
+
<span class="exhibit-lens-property-value">
|
191
|
+
<xsl:attribute xsl:name="ex:content"><xsl:value-of select="@ex:select" /></xsl:attribute>
|
193
192
|
</span>
|
194
193
|
</xsl:template>
|
195
194
|
|
@@ -217,5 +216,12 @@
|
|
217
216
|
<xsl:apply-templates />
|
218
217
|
</div>
|
219
218
|
</xsl:template>
|
219
|
+
|
220
|
+
<xsl:template match="ex:if-exists">
|
221
|
+
<span>
|
222
|
+
<xsl:attribute name="ex:if-exists"><xsl:value-of select="@ex:select" /></xsl:attribute>
|
223
|
+
<xsl:apply-templates />
|
224
|
+
</span>
|
225
|
+
</xsl:template>
|
220
226
|
|
221
227
|
</xsl:stylesheet>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fabulator-exhibit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- James Smith
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-29 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|