Skip to content

Commit

Permalink
264 beslisboom rename to beslishulp (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensWe authored Nov 29, 2024
2 parents b8d5163 + c089859 commit 2b0ce4b
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 18 deletions.
3 changes: 1 addition & 2 deletions amt/locale/base.pot
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,7 @@ msgid ""
"The AI Act profile provides insight into, among other things, the type of"
" AI system and the associated obligations from the European AI Act. If "
"you already know the type of AI system you can fill in the below fields. "
"Otherwise, you can find your AI Act Profile with the AI Act Decision "
"tree."
"Otherwise, you can find your AI Act Profile with the AI Act Support Tool."
msgstr ""

#: amt/site/templates/algorithms/new.html.j2:76
Expand Down
Binary file modified amt/locale/en_US/LC_MESSAGES/messages.mo
Binary file not shown.
3 changes: 1 addition & 2 deletions amt/locale/en_US/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,7 @@ msgid ""
"The AI Act profile provides insight into, among other things, the type of"
" AI system and the associated obligations from the European AI Act. If "
"you already know the type of AI system you can fill in the below fields. "
"Otherwise, you can find your AI Act Profile with the AI Act Decision "
"tree."
"Otherwise, you can find your AI Act Profile with the AI Act Support Tool."
msgstr ""

#: amt/site/templates/algorithms/new.html.j2:76
Expand Down
Binary file modified amt/locale/nl_NL/LC_MESSAGES/messages.mo
Binary file not shown.
3 changes: 1 addition & 2 deletions amt/locale/nl_NL/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,7 @@ msgid ""
"The AI Act profile provides insight into, among other things, the type of"
" AI system and the associated obligations from the European AI Act. If "
"you already know the type of AI system you can fill in the below fields. "
"Otherwise, you can find your AI Act Profile with the AI Act Decision "
"tree."
"Otherwise, you can find your AI Act Profile with the AI Act Support Tool."
msgstr ""
"Het profiel van je toepassing, gebaseerd op de AI Act, geeft inzicht in "
"onder andere het type AI systeem, de regelgeving die van toepassing is en"
Expand Down
10 changes: 5 additions & 5 deletions amt/site/static/ts/amt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ export function closeModal(id: string) {
export function closeModalSave(id: string) {
closeModal(id);

// Get decision tree state from local store.
const decision_tree_state = localStorage?.getItem("labelsbycategory");
// Get ai act support tool state from local store.
const ai_act_support_tool_state = localStorage?.getItem("labelsbycategory");

if (decision_tree_state != null) {
// Parse decision tree state into AiActProfile object.
const aiActProfileRaw = JSON.parse(decision_tree_state);
if (ai_act_support_tool_state != null) {
// Parse ai act support tool state into AiActProfile object.
const aiActProfileRaw = JSON.parse(ai_act_support_tool_state);
const aiActProfile: AiActProfile = new AiActProfile(
aiActProfileRaw["Soort toepassing"],
aiActProfileRaw["Publicatiecategorie"],
Expand Down
14 changes: 7 additions & 7 deletions amt/site/templates/algorithms/new.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@
</div>
<h2 class="utrecht-heading-2 rvo-heading--no-margins">{% trans %}AI Act Profile{% endtrans %}</h2>
<p class="rvo-text rvo-text--no-margins">
{% trans %}The AI Act profile provides insight into, among other things, the type of AI system and the associated obligations from the European AI Act. If you already know the type of AI system you can fill in the below fields. Otherwise, you can find your AI Act Profile with the AI Act Decision tree.{% endtrans %}
{% trans %}The AI Act profile provides insight into, among other things, the type of AI system and the associated obligations from the European AI Act. If you already know the type of AI system you can fill in the below fields. Otherwise, you can find your AI Act Profile with the AI Act Support Tool.{% endtrans %}
</p>
<div class="utrecht-form-fieldset rvo-form-fieldset">
<button id="decision-tree-modal-button"
<button id="ai-act-support-tool-modal-button"
class="utrecht-button utrecht-button--secondary-action utrecht-button--rvo-md utrecht-button-group__align-right"
onclick="amt.openModal('decision-tree-modal')"
onclick="amt.openModal('ai-act-support-tool-modal')"
type="button"
style="float: right">{% trans %}Find your AI Act profile{% endtrans %}</button>
<fieldset class="utrecht-form-fieldset__fieldset utrecht-form-fieldset--html-fieldset">
Expand Down Expand Up @@ -190,15 +190,15 @@
</div>
</div>
</div>
<div id="decision-tree-modal" class="minbzk-modal display-none">
<div id="ai-act-support-tool-modal" class="minbzk-modal display-none">
<div class="modal-underlay"
onclick="amt.closeModal('decision-tree-modal')"></div>
onclick="amt.closeModal('ai-act-support-tool-modal')"></div>
<div class="modal-content">
<p class="utrecht-button-group">
<button id="close-decision-tree-modal-button"
<button id="close-ai-act-support-tool-modal-button"
type="button"
class="flex utrecht-button utrecht-button--secondary-action rvo-layout-row rvo-layout-gap--md utrecht-button--rvo-md rvo-link--no-underline utrecht-button-group__align-right"
onclick="amt.closeModalSave('decision-tree-modal')">
onclick="amt.closeModalSave('ai-act-support-tool-modal')">
{% trans %}Copy results and close{% endtrans %}
</button>
<div id="app">
Expand Down

0 comments on commit 2b0ce4b

Please sign in to comment.