File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed
templates/text/qbat/includes Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,24 @@ ins::after {
197
197
/* color: var(--color-neutral-400); */
198
198
}
199
199
200
+ .fullview-main .name {
201
+ .name--reg {
202
+ & ::before {
203
+ content : ' [' ;
204
+ font-weight : bold ;
205
+ font-size : 1.1rem ;
206
+ }
207
+ & ::after {
208
+ content : ' ]' ;
209
+ font-weight : bold ;
210
+ font-size : 1.1rem ;
211
+ }
212
+ display : inline-block ;
213
+ background : var (--color-green-100 );
214
+
215
+ }
216
+ }
217
+
200
218
.fullview-main figure {
201
219
border : 1px solid var (--color-neutral-100 );
202
220
padding : 1rem ;
@@ -336,6 +354,9 @@ ins::after {
336
354
.inline-note {
337
355
background : var (--color-maize-100 );
338
356
display : block ;
357
+ & .inline {
358
+ display : inline-block ;
359
+ }
339
360
}
340
361
341
362
.div-heading {
Original file line number Diff line number Diff line change 813
813
</xsl : choose >
814
814
</xsl : template >
815
815
816
+ <!-- #################### -->
817
+ <xsl : template match =" tei:NAME[@REG]" >
818
+ <span class =" name" >
819
+ <xsl : apply-templates />
820
+ <xsl : text > </xsl : text >
821
+ <span class =" name--reg" >
822
+ <xsl : value-of select =" @REG" />
823
+ </span >
824
+ </span >
825
+ </xsl : template >
826
+
816
827
<!-- #################### -->
817
828
<xsl : template match =" tei:NOTE/tei:NOTE1|tei:NOTE/tei:NOTE2" priority =" 101" >
818
829
<p >
821
832
</xsl : template >
822
833
823
834
<xsl : template match =" tei:NOTE1|tei:NOTE2" >
824
- <xsl : variable name =" view" select =" //Param[@name='view'] " />
835
+ <xsl : variable name =" view" select =" 'text' " />
825
836
<xsl : choose >
826
837
<xsl : when test =" not(@HREF)" >
827
838
<!-- no @HREF, therefore render the note content -->
You can’t perform that action at this time.
0 commit comments