| 35571 |
amit |
1 |
## Activity Modal - Shared partial for ticket message history
|
|
|
2 |
## Usage: #set($showFileUpload = true) then #parse("activity-modal.vm")
|
|
|
3 |
## Variables: $showFileUpload (boolean) - whether to show file upload section
|
|
|
4 |
|
|
|
5 |
<div class="activity-container">
|
|
|
6 |
<div class="modal" id="myModal" role="dialog">
|
|
|
7 |
<div class="modal-dialog">
|
|
|
8 |
<div class="modal-content">
|
|
|
9 |
<div class="modal-header">
|
|
|
10 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
11 |
<h4 class="modal-title">Message History</h4>
|
|
|
12 |
</div>
|
|
|
13 |
<div class="modal-body">
|
|
|
14 |
</div>
|
|
|
15 |
<div class="modal-footer">
|
|
|
16 |
#if($showFileUpload)
|
|
|
17 |
<div class="col-lg-8 form-group">
|
|
|
18 |
<ul class="fileList"></ul>
|
|
|
19 |
</div>
|
|
|
20 |
#end
|
|
|
21 |
<div class="col-lg-8 form-group">
|
|
|
22 |
<input type="hidden" id="ticketIdforactivity">
|
|
|
23 |
<input type="hidden" id="assigneeUser">
|
|
|
24 |
<input type="hidden" id="role" value="">
|
|
|
25 |
<input type="hidden" id="crmUser" value="">
|
|
|
26 |
<textarea class="form-control rounded-0" id="activityMessage" rows="2"></textarea>
|
|
|
27 |
</div>
|
|
|
28 |
<div class="col-lg-4">
|
|
|
29 |
<div class="col-lg-7 internalCheckBox">
|
|
|
30 |
<input type="checkbox" name="internalCommunication" id="internalCommunication"> <span style="font-size:12px;font-weight:bold">INTERNAL</span>
|
|
|
31 |
</div>
|
|
|
32 |
<div class="col-lg-5">
|
|
|
33 |
<input class="btn btn-primary submit-message-button" type="button" value="Submit">
|
|
|
34 |
</div>
|
|
|
35 |
#if($showFileUpload)
|
|
|
36 |
<div class="col-lg-7 uploadData">
|
|
|
37 |
<button type="button" class="btn btn-default uploadFile" style="float:left;padding:0px;cursor:pointer">
|
|
|
38 |
<i class="fa fa-paperclip" aria-hidden="true"></i>
|
|
|
39 |
</button>
|
|
|
40 |
<input type="file" id="file1" name="file1" accept=".jpg,.png,.jpeg,.doc,.docx,.xls,.xlsx" style="display:none" multiple/>
|
|
|
41 |
</div>
|
|
|
42 |
#end
|
|
|
43 |
</div>
|
|
|
44 |
</div>
|
|
|
45 |
</div>
|
|
|
46 |
</div>
|
|
|
47 |
</div>
|
|
|
48 |
</div>
|