Assignment and termination work

This commit is contained in:
Rick Falkvinge
2015-04-17 00:16:57 +02:00
parent 5968f0c361
commit 84dc9ea820
2 changed files with 2 additions and 2 deletions
@@ -172,7 +172,7 @@
<value>&lt;strong&gt;QUIT YOUR POSITION?&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;This is &lt;strong&gt;your&lt;/strong&gt; assignment. Terminating your own assignment is the equivalent of saying "I QUIT". Doing so will take effect immediately. Is this what you wanted to do?&lt;br/&gt;&lt;br/&gt;</value>
</data>
<data name="Positions_ConfirmTerminate" xml:space="preserve">
<value>&lt;strong&gt;TERMINATE ASSIGNMENT?&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;Do you want to terminate {0} from the assignment as {1}? This is the equivalent of firing somebody and usually needs to be in accordance with internal processes and local law.&lt;br/&gt;&lt;br/&gt;</value>
<value>&lt;strong&gt;TERMINATE ASSIGNMENT?&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;Do you want to terminate &lt;span id="spanTerminatePersonName"&gt;[PERSONNAME]&lt;/span&gt; from the assignment as &lt;span id="spanTerminatePositionName"&gt;[POSITIONNAME]&lt;/span&gt;? This is the equivalent of firing somebody and usually needs to be in accordance with internal processes and local law.&lt;br/&gt;&lt;br/&gt;</value>
<comment>{0} is the person name, {1} is the position title.</comment>
</data>
<data name="Positions_TerminateNo" xml:space="preserve">
+1 -1
View File
@@ -123,7 +123,7 @@
SwarmopsJS.ajaxCall("/Automation/SwarmFunctions.aspx/TerminatePositionAssignment",
{ assignmentId: assignmentId },
function(result) {
if (result.success) {
if (result.Success) {
$('#<%=this.ClientID%>_tablePositions').treegrid('reload');
} else {
alertify.error(result.DisplayMessage);