Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1f176949

Von Hans P. Schlaepfer vor mehr als 4 Jahren hinzugefügt

  • ID 1f1769499533a3ae3aa0b15064f016ca31eee872
  • Vorgänger e0677853
  • Nachfolger 3f24cd1e

Neues Design 2019 Standard-Code templates/webpages/requirement_spec/_project_link_form.html

Unterschiede anzeigen:

templates/webpages/requirement_spec/_project_link_form.html
[% SET id_prefix = "project_link_form" %]
<form method="post" action="controller.pl" id="[% id_prefix %]"[% UNLESS submit_as == 'post' %] class="edit-project-link-context-menu"[% END %]>
<h2>[% LxERP.t8("Edit project link") %]</h2>
[% L.hidden_tag("id", SELF.requirement_spec.id, id=id_prefix _ "_id") %]
<h2>[% LxERP.t8("Edit project link") %]</h2>
[% IF !SELF.requirement_spec.project_id %]
<p>[% LxERP.t8("This requirement spec is currently not linked to a project.") %]</p>
[% L.hidden_tag("id", SELF.requirement_spec.id, id=id_prefix _ "_id") %]
[% ELSE %]
[% IF !SELF.requirement_spec.project_id %]
<p>[% LxERP.t8("This requirement spec is currently not linked to a project.") %]</p>
[% ELSE %]
<p>[% LxERP.t8("This requirement spec is currently linked to the following project:") %]</p>
[% INCLUDE "requirement_spec/_project_link_details.html" requirement_spec=SELF.requirement_spec %]
[% END %]
[% END %]
<table>
<tr><td colspan="2">[% L.radio_button_tag("project_link_action", id=id_prefix _ "_project_link_action_keep", value="keep", label=LxERP.t8("Keep the project link the way it is."), checked="1") %]</td></tr>
<table class="test">
<tr>
<td colspan="2"> [% L.radio_button_tag("project_link_action", id=id_prefix _ "_project_link_action_keep", value="keep", label=LxERP.t8("Keep the project link the way it is."), checked="1") %] </td>
</tr>
[% IF SELF.requirement_spec.project_id %]
<tr><td colspan="2">[% L.radio_button_tag("project_link_action", id=id_prefix _ "_project_link_action_none", value="none", label=LxERP.t8("Do not link to a project.")) %]</td></tr>
<tr>
<td colspan="2"> [% L.radio_button_tag("project_link_action", id=id_prefix _ "_project_link_action_none", value="none", label=LxERP.t8("Do not link to a project.")) %] </td>
</tr>
[% END %]
<tr><td colspan="2">[% L.radio_button_tag("project_link_action", id=id_prefix _ "_project_link_action_new", value="new", label=LxERP.t8("Create a new project and link to it.")) %]</td></tr>
<tr>
<td>[% L.radio_button_tag("project_link_action", id=id_prefix _ "_project_link_action_existing", value="existing", label=LxERP.t8("Link to the following project:")) %]</td>
<td>[% L.select_tag("new_project_id", SELF.projects, id=id_prefix _ "_new_project_id", title_key="full_description", disabled="true") %]</td>
<td colspan="2"> [% L.radio_button_tag("project_link_action", id=id_prefix _ "_project_link_action_new", value="new", label=LxERP.t8("Create a new project and link to it.")) %] </td>
</tr>
<tr>
<td> [% L.radio_button_tag("project_link_action", id=id_prefix _ "_project_link_action_existing", value="existing", label=LxERP.t8("Link to the following project:")) %] </td>
<td> [% L.select_tag("new_project_id", SELF.projects, id=id_prefix _ "_new_project_id", title_key="full_description", disabled="true") %] </td>
</tr>
</table>
</table>
<p>
<div class="buttons">
[% L.ajax_submit_tag("controller.pl?action=RequirementSpec/update_project_link", "#" _ id_prefix, LxERP.t8("Save"), id=id_prefix _ "_submit") %]
<script type="text/javascript"><!--
$(function() {
......
});
});
--></script>
</p>
</div>
</form>

Auch abrufbar als: Unified diff