Subversion Repositories SmartDukaan

Rev

Rev 23164 | Rev 23181 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
22860 ashik.ali 1
<h3 style="padding-left:3%;padding-top:2%;font-weight:bold;">Scheme Id : $scheme.getId()</h3>
2
<div class="row" style="padding-left:3%;">
3
	<div class="col-lg-6">	
4
		<div class="scheme-info col-lg3">
5
			#if($scheme.getActiveTimestamp())
6
				<span>Activated On : $scheme.getFormattedActiveTimestamp()</span>
7
				<p></p>
8
			#end
9
			#if($scheme.getExpireTimestamp())
10
				<span>Expired On : $scheme.getFormattedExpireTimestamp()</span>
11
				<p></p>
12
			#end
13
			<span>Item Ids : $scheme.getItemIdsString()</span>
14
			<p></p>
15
			#if($scheme.isRetailerAll())
16
				<td>Retailer All : <i class="fa fa-check" aria-hidden="true"></i></td>
17
			#else
18
				<td>Retailer All : <i class="fa fa-times" aria-hidden="true"></i></td>
19
			#end
20
			</p></p>
21
			<span>Created By : $scheme.getCreatedBy()</span>
22
			<p></p>
23
			#if(!$scheme.isRetailerAll())
24
				<span>Retailer Ids : $scheme.getRetailerIdsString()</span>
25
			#end
26
			<p></p>
27
			#if((!$scheme.getActiveTimestamp()) && (!$scheme.getExpireTimestamp()))
28
				<div class="btn-group" style="width:40%">
23167 amit.gupta 29
					<button class="btn active-scheme" data="$scheme.getId()" style="width:100%;background-color:#D3181F;color:white;">Active</button>
22860 ashik.ali 30
				</div>
31
			#else
32
				#if(($scheme.getActiveTimestamp()) && (!$scheme.getExpireTimestamp()))
33
					<div class="btn-group" style="width:40%">
34
						<button class="btn expire-scheme" data="$scheme.getId()" style="width:100%;background-color:#007aff;color:white;">Expire</button>
35
					</div>
36
				#end
37
			#end
38
		</div>
39
	</div>
40
</div>
41
<hr />