Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
d314b45f
Commit
d314b45f
authored
Jul 15, 2019
by
mrodzis
🌿
Browse files
Bugfix/
#93
golden state
parent
b6756a4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/fontane/edited-text/simple2xhtml.xqm
View file @
d314b45f
...
...
@@ -163,15 +163,15 @@ declare function simple2xhtml:recursion($nodes as node()*) as node()* {
if($node/@prev or $node[not(@prev or @next)]) then
(switch(substring-before($node/@ref, ":"))
case "psn" return
<i class="fa fa-user" aria-hidden="true"/>
<i class="fa fa-user
icon-invisible
" aria-hidden="true"/>
case "plc" return
<i class="fa fa-map-marker" aria-hidden="true"/>
<i class="fa fa-map-marker
icon-invisible
" aria-hidden="true"/>
case "eve" return
<i class="fa fa-flag" aria-hidden="true"/>
<i class="fa fa-flag
icon-invisible
" aria-hidden="true"/>
case "org" return
<i class="fa fa-university" aria-hidden="true"/>
<i class="fa fa-university
icon-invisible
" aria-hidden="true"/>
case "wrk" return
<i class="fa fa-book" aria-hidden="true"/>
<i class="fa fa-book
icon-invisible
" aria-hidden="true"/>
default return ()
(: let $first-char := $node/following::text()[1]/substring(., 1, 1):)
...
...
modules/fontane/misc.xqm
View file @
d314b45f
...
...
@@ -359,7 +359,7 @@ declare function f-misc:editedTextContent($node as node(), $model as map(*), $id
</ul>
</div>,
<div id="synBtn" class="col-xs-2 col-md-3 col-md-offset-1">
<a href="edition.html?id={$id}&page="
onclick="goldenState('code')"
>
<a href="edition.html?id={$id}&page=">
<h1 class="animated slideInLeft">
<span class="hidden-md hidden-lg"><i class="fa fa-file-text-o"></i></span>
<span class="hidden-sm hidden-xs">Synoptische Ansicht</span>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment