Commit 887fba6d authored by andreas.fried's avatar andreas.fried
Browse files

Merge branch...

Merge branch '2-rote-einfarbung-der-id-von-funktionalen-anforderungen-kriterien-und-ahnlichem' into 'master'

Resolve "Rote Einfärbung der ID Von Funktionalen Anforderungen, Kriterien und ähnlichem"

Closes #2

See merge request !4
parents e47ba0ca 20041817
...@@ -36,18 +36,18 @@ ...@@ -36,18 +36,18 @@
\newcommand\criterium[2]{ \newcommand\criterium[2]{
\stepcounter{criterium} \stepcounter{criterium}
\par\textbf{#1}\phantomsection\rdflabel{#2} \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:crtname}{#1}
\AddPropertyEx{pfl:crtid}{\PrefixMussKriterium\arabic{criterium}} \AddPropertyEx{pfl:crtid}{\PrefixMussKriterium\arabic{criterium}}
\IfProperty{#2}{pfl:is-fulfilled}{% \IfProperty{#2}{pfl:is-fulfilled}{%
\\ Implementiert durch: \Bind{?f}{pfl:fulfills}{#2}{ \functionalitylink{\GetVal{?f}} } \\ Implementiert durch: \Bind{?f}{pfl:fulfills}{#2}{ \functionalitylink{\GetVal{?f}} }
}{{\color{red}{NICHT IMPLEMENTIERT}}} }{{\color{red}{Nicht implementiert}}}
\par} \par}
\newcommand\criteriumOptional[2]{ \newcommand\criteriumOptional[2]{
\stepcounter{criteriumOpt} \stepcounter{criteriumOpt}
\par\textbf{#1}\phantomsection\rdflabel{#2} \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:crtname}{#1}
\AddPropertyEx{pfl:crtid}{\PrefixKannKriterium\arabic{criteriumOpt}} \AddPropertyEx{pfl:crtid}{\PrefixKannKriterium\arabic{criteriumOpt}}
\IfProperty{#2}{pfl:is-fulfilled}{% \IfProperty{#2}{pfl:is-fulfilled}{%
...@@ -66,12 +66,12 @@ ...@@ -66,12 +66,12 @@
\newcommand\functionality[2]{ \newcommand\functionality[2]{
\stepcounter{functionality} \stepcounter{functionality}
\par\textbf{#1}\phantomsection\rdflabel{#2} \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:fncname}{#1}
\AddPropertyEx{pfl:fncid}{\PrefixFunktional\arabic{functionality}} \AddPropertyEx{pfl:fncid}{\PrefixFunktional\arabic{functionality}}
\IfProperty{#2}{pfl:is-tested}{% \IfProperty{#2}{pfl:is-tested}{%
\\ Getestet durch: \Bind{?t}{pfl:tests}{#2}{ \testlink{\GetVal{?t}} } \\ 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}} } Implementiert: \Bind{#2}{pfl:fulfills}{?c}{ \criteriumlink{\GetVal{?c}} }
\par} \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