Commit 20041817 authored by johannes.bechberger's avatar johannes.bechberger
Browse files

Make behavior consistent

parent e47ba0ca
......@@ -36,18 +36,18 @@
\newcommand\criterium[2]{
\stepcounter{criterium}
\par\textbf{#1}\phantomsection\rdflabel{#2}
\marginid{\PrefixMussKriterium\arabic{criterium}}
\marginid{{\IfProperty{#2}{pfl:is-fulfilled}{}{\color{red}}\PrefixMussKriterium\arabic{criterium}}}
\AddPropertyEx{pfl:crtname}{#1}
\AddPropertyEx{pfl:crtid}{\PrefixMussKriterium\arabic{criterium}}
\IfProperty{#2}{pfl:is-fulfilled}{%
\\ Implementiert durch: \Bind{?f}{pfl:fulfills}{#2}{ \functionalitylink{\GetVal{?f}} }
}{{\color{red}{NICHT IMPLEMENTIERT}}}
}{{\color{red}{Nicht implementiert}}}
\par}
\newcommand\criteriumOptional[2]{
\stepcounter{criteriumOpt}
\par\textbf{#1}\phantomsection\rdflabel{#2}
\marginid{\PrefixKannKriterium\arabic{criteriumOpt}}
\marginid{{\IfProperty{#2}{pfl:is-fulfilled}{}{\color{red}}\PrefixKannKriterium\arabic{criteriumOpt}}}
\AddPropertyEx{pfl:crtname}{#1}
\AddPropertyEx{pfl:crtid}{\PrefixKannKriterium\arabic{criteriumOpt}}
\IfProperty{#2}{pfl:is-fulfilled}{%
......@@ -66,12 +66,12 @@
\newcommand\functionality[2]{
\stepcounter{functionality}
\par\textbf{#1}\phantomsection\rdflabel{#2}
\marginid{\PrefixFunktional\arabic{functionality}}
\marginid{{\IfProperty{#2}{pfl:is-tested}{}{\color{red}}\PrefixFunktional\arabic{functionality}}}
\AddPropertyEx{pfl:fncname}{#1}
\AddPropertyEx{pfl:fncid}{\PrefixFunktional\arabic{functionality}}
\IfProperty{#2}{pfl:is-tested}{%
\\ Getestet durch: \Bind{?t}{pfl:tests}{#2}{ \testlink{\GetVal{?t}} }
}{{\color{red}{NICHT GETESTET}}\\}
}{{\color{red}{Nicht getestet}}\\}
Implementiert: \Bind{#2}{pfl:fulfills}{?c}{ \criteriumlink{\GetVal{?c}} }
\par}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment