Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GEMIMEG Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
D-PTB
DCC
GEMIMEG-Tool 2.0
GEMIMEG Backend
Commits
23a5efbf
Commit
23a5efbf
authored
3 months ago
by
Petra Tsesmetzi
Browse files
Options
Downloads
Patches
Plain Diff
formated
parent
c54ccda3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gemimeg-backend/src/main/resources/xsl/dcc/dcc.xsl
+3
-46
3 additions, 46 deletions
gemimeg-backend/src/main/resources/xsl/dcc/dcc.xsl
with
3 additions
and
46 deletions
gemimeg-backend/src/main/resources/xsl/dcc/dcc.xsl
+
3
−
46
View file @
23a5efbf
...
...
@@ -16,7 +16,6 @@
</head>
<body>
<div
class=
"dcc-wrapper"
>
<div
class=
"dcc-content p-l"
>
<h1>
Kalibrierzertifikat
</h1>
<p
class=
"english-title"
>
Digital Calibration Certificate
</p>
...
...
@@ -220,31 +219,14 @@
</xsl:template>
<!-- template name -->
<xsl:template
match=
"dcc:name"
>
<!-- <xsl:for-each select="dcc:content[@lang='de']">-->
<!-- <xsl:call-template name="showIfNotEmpty">-->
<!-- <xsl:with-param name="label" select="concat('Name-de ', position())"/>-->
<!-- <xsl:with-param name="english-label" select="concat('Name ', position())"/>-->
<!-- <xsl:with-param name="value" select="."/>-->
<!-- <xsl:with-param name="isDate" select="'false'"/>-->
<!-- </xsl:call-template>-->
<!-- </xsl:for-each>-->
<!-- <xsl:for-each select="dcc:content[@lang='en']">-->
<!-- <xsl:call-template name="showIfNotEmpty">-->
<!-- <xsl:with-param name="label" select="concat('Name-en ', position())"/>-->
<!-- <xsl:with-param name="english-label" select="concat('Name ', position())"/>-->
<!-- <xsl:with-param name="value" select="."/>-->
<!-- <xsl:with-param name="isDate" select="'false'"/>-->
<!-- </xsl:call-template>-->
<!-- </xsl:for-each>-->
<xsl:variable
name=
"count"
select=
"count(dcc:content)"
/>
<xsl:for-each
select=
"dcc:content"
>
<xsl:variable
name=
"lang"
select=
"@lang"
/>
<xsl:variable
name=
"pos"
select=
"position()"
/>
<xsl:call-template
name=
"showIfNotEmpty"
>
<xsl:with-param
name=
"label"
select=
"concat('Name',
' ',
$pos)"
/>
<xsl:with-param
name=
"english-label"
select=
"concat('Name
',
$pos)"
/>
<xsl:with-param
name=
"label"
select=
"concat('Name',$pos)"
/>
<xsl:with-param
name=
"english-label"
select=
"concat('Name',$pos)"
/>
<xsl:with-param
name=
"value"
select=
"."
/>
<xsl:with-param
name=
"isDate"
select=
"'false'"
/>
<xsl:with-param
name=
"lang"
select=
"$lang"
/>
...
...
@@ -544,32 +526,8 @@
</table>
</xsl:template>
<!-- if-not-empty -->
<!-- <xsl:template name="showIfNotEmpty">-->
<!-- <xsl:param name="label"/>-->
<!-- <xsl:param name="english-label"/>-->
<!-- <xsl:param name="value"/>-->
<!-- <xsl:param name="isDate"/>-->
<!-- <xsl:if test="string($value) != ''">-->
<!-- <tr>-->
<!-- <td>-->
<!-- <p><xsl:value-of select="$label"/></p>-->
<!-- <p class="english-label"><xsl:value-of select="$english-label"/></p>-->
<!-- </td>-->
<!-- <td>-->
<!-- <p>-->
<!-- <xsl:choose>-->
<!-- <xsl:when test="$isDate = 'true'">-->
<!-- <xsl:value-of select="substring-before($value, '+')"/>-->
<!-- </xsl:when>-->
<!-- <xsl:otherwise>-->
<!-- <xsl:value-of select="$value"/>-->
<!-- </xsl:otherwise>-->
<!-- </xsl:choose>-->
<!-- </p> <p> </p></td>-->
<!-- </tr>-->
<!-- </xsl:if>-->
<!-- </xsl:template>-->
<xsl:template
name=
"showIfNotEmpty"
>
<xsl:param
name=
"label"
/>
<xsl:param
name=
"english-label"
/>
...
...
@@ -582,7 +540,6 @@
<td>
<p><xsl:value-of
select=
"$label"
/></p>
<p
class=
"english-label"
><xsl:value-of
select=
"$english-label"
/></p>
<p
class=
"language"
>
[Sprache:
<xsl:value-of
select=
"$lang"
/>
]
</p>
<!-- Sprache anzeigen -->
</td>
<td>
<p>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment