remove duplicate vote-two-thirds
This commit is contained in:
parent
29f7d31f7d
commit
b2eb145ded
|
@ -215,71 +215,6 @@
|
||||||
\end{minipage}\end{lrbox}\fbox{\usebox{\mybox}}
|
\end{minipage}\end{lrbox}\fbox{\usebox{\mybox}}
|
||||||
}
|
}
|
||||||
|
|
||||||
\newenvironment{vote-two-thirds} {%
|
|
||||||
\immediate\write\exportdata{-}
|
|
||||||
\begin{lrbox}{\mybox}\begin{minipage}{.985\textwidth}
|
|
||||||
\newcommand*{\voteNumber}[1]{%
|
|
||||||
%see section VOTENUMBER at the end
|
|
||||||
\ifthenelse{\equal{##1}{}}{}{% else (argument is not empty)
|
|
||||||
\setcounter{votenumber}{##1}%
|
|
||||||
}%
|
|
||||||
\immediate\write\exportdata{ decision_id: "\the\year/\thevotenumber"}%
|
|
||||||
\textbf{\the\year\,/\,\thevotenumber:}\\%
|
|
||||||
\stepcounter{votenumber}%
|
|
||||||
}%
|
|
||||||
\newcommand*{\voteMoney}[1]{%
|
|
||||||
\ifthenelse{\equal{##1}{}} {%
|
|
||||||
\immediate\write\exportdata{ money_limit: NULL}%
|
|
||||||
\textbf{Antrag}%
|
|
||||||
} {%
|
|
||||||
\immediate\write\exportdata{ money_limit: ##1}%
|
|
||||||
\textbf{Finanzantrag über \EUR{##1} - Antrag}%
|
|
||||||
}%
|
|
||||||
}
|
|
||||||
\newcommand*{\voteText}[1]{%
|
|
||||||
\immediate\write\exportdata{ text: "##1"}%
|
|
||||||
##1\vspace{\baselineskip}\\}%
|
|
||||||
\newcommand*{\voteSubmitter}[1]{%
|
|
||||||
\immediate\write\exportdata{ submitter: "##1"}%
|
|
||||||
\textbf{Antragsteller\_in: }##1\vspace{\baselineskip}\\}%
|
|
||||||
\newcommand*{\voteReason}[1]{%
|
|
||||||
\immediate\write\exportdata{ rationale: "##1"}%
|
|
||||||
\textbf{Begründung: }##1\vspace{\baselineskip}\\}%
|
|
||||||
\newcommand*{\voting}[3]{\textbf{Abstimmung: }%
|
|
||||||
\ifthenelse{\equal{##1}{} \AND \equal{##2}{} \AND \equal{##3}{}} {%
|
|
||||||
\immediate\write\exportdata{ v_yes: 0}%
|
|
||||||
\immediate\write\exportdata{ v_no: 0}%
|
|
||||||
\immediate\write\exportdata{ v_neutral: 0}%
|
|
||||||
\immediate\write\exportdata{ accepted: 1}%
|
|
||||||
Der Antrag wurde ohne Gegenrede angenommen.%
|
|
||||||
} {%
|
|
||||||
\immediate\write\exportdata{ v_yes: ##1}%
|
|
||||||
\immediate\write\exportdata{ v_no: ##2}%
|
|
||||||
\immediate\write\exportdata{ v_neutral: ##3}%
|
|
||||||
Dafür: ##1, Dagegen: ##2, Enthaltungen: ##3%
|
|
||||||
\\%
|
|
||||||
\setcounter{x}{##2+##3}%
|
|
||||||
\ifnum##1>\arabic{x}%
|
|
||||||
{%
|
|
||||||
\immediate\write\exportdata{ accepted: 1}%
|
|
||||||
Der Antrag wurde angenommen.
|
|
||||||
}%
|
|
||||||
\else%
|
|
||||||
{
|
|
||||||
\immediate\write\exportdata{ accepted: 0}%
|
|
||||||
Der Antrag wurde abgelehnt.
|
|
||||||
}%
|
|
||||||
\fi%
|
|
||||||
}%
|
|
||||||
}%
|
|
||||||
\newcommand*{\voteComment}[1]{%
|
|
||||||
\immediate\write\exportdata{ comment: "##1"}%
|
|
||||||
##1
|
|
||||||
}%
|
|
||||||
} {
|
|
||||||
\end{minipage}\end{lrbox}\fbox{\usebox{\mybox}}
|
|
||||||
}
|
|
||||||
|
|
||||||
\newenvironment{vote-two-thirds} {%
|
\newenvironment{vote-two-thirds} {%
|
||||||
\immediate\write\exportdata{-}
|
\immediate\write\exportdata{-}
|
||||||
\begin{lrbox}{\mybox}\begin{minipage}{.985\textwidth}
|
\begin{lrbox}{\mybox}\begin{minipage}{.985\textwidth}
|
||||||
|
|
Loading…
Reference in a new issue