Commit 9448c07a by Nilu

HT003 - 'Share' button is only enabled (both visually and functionally) when the…

HT003 - 'Share' button is only enabled (both visually and functionally) when the Job is in 'Open' status; in other words: **disable** the Share button - both visually and functionally -  in all Job statuses _other_ than 'Open'
parent 1b71701a
...@@ -2766,7 +2766,6 @@ span.ex-management { ...@@ -2766,7 +2766,6 @@ span.ex-management {
background-color: #667281; background-color: #667281;
margin-left: 29px; margin-left: 29px;
} }
.edit-btn-dropdown a.rightbtn { .edit-btn-dropdown a.rightbtn {
border-radius:0 100px 100px 0; border-radius:0 100px 100px 0;
margin-left: 0px; margin-left: 0px;
...@@ -2775,6 +2774,10 @@ span.ex-management { ...@@ -2775,6 +2774,10 @@ span.ex-management {
border-radius: 100px 0 0 100px; border-radius: 100px 0 0 100px;
margin-left: 29px; margin-left: 29px;
} }
.edit-btn-dropdown a.leftbtn.disabled{
opacity: 0.5;
background-color: #667281;
}
.edit-btn-dropdown a:hover,.edit-btn-dropdown a:focus{ .edit-btn-dropdown a:hover,.edit-btn-dropdown a:focus{
background-color: #434c58; background-color: #434c58;
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</span> </span>
<span class="edit-btn-dropdown"> <span class="edit-btn-dropdown">
<oneit:button value="Share" cssClass="leftbtn" name="gotoPage" skin="link" <oneit:button value="Share" cssClass="<%= job.getJobStatus() != JobStatus.OPEN ? "leftbtn disabled" : "leftbtn"%>" name="gotoPage" skin="link"
disabled="<%= job.getJobStatus() != JobStatus.OPEN ? "true" : "false" %>" disabled="<%= job.getJobStatus() != JobStatus.OPEN ? "true" : "false" %>"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", sharePage + "&JobID=" + job.getObjectID()) requestAttribs="<%= CollectionUtils.mapEntry("nextPage", sharePage + "&JobID=" + job.getObjectID())
.mapEntry("cancelProcess", true) .mapEntry("cancelProcess", true)
......
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