added multi day raids
This commit is contained in:
parent
00a038ae15
commit
922bef0ddf
6 changed files with 131 additions and 25 deletions
|
@ -41,14 +41,28 @@
|
|||
|
||||
|
||||
<span class="timesblock">
|
||||
<span class="times">
|
||||
<h5>Date</h5>
|
||||
<p>@_startTime.DateTime.ToLongDateString()</p>
|
||||
</span>
|
||||
<span class="times">
|
||||
<h5>Time</h5>
|
||||
<p>from: @_startTime.DateTime.ToShortTimeString() to: @_endTime.DateTime.ToShortTimeString()</p>
|
||||
</span>
|
||||
@if(_endTime - _startTime > new TimeSpan(24,0,0))
|
||||
{
|
||||
<span class="times">
|
||||
<h5>From</h5>
|
||||
<p>@_startTime.DateTime.ToLongDateString() @_startTime.DateTime.ToShortTimeString()</p>
|
||||
</span>
|
||||
<span class="times">
|
||||
<h5>To</h5>
|
||||
<p>@_endTime.DateTime.ToLongDateString() @_endTime.DateTime.ToShortTimeString()</p>
|
||||
</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="times">
|
||||
<h5>Date</h5>
|
||||
<p>@_startTime.DateTime.ToLongDateString()</p>
|
||||
</span>
|
||||
<span class="times">
|
||||
<h5>Time</h5>
|
||||
<p>from: @_startTime.DateTime.ToShortTimeString() to: @_endTime.DateTime.ToShortTimeString()</p>
|
||||
</span>
|
||||
}
|
||||
<span class="times">
|
||||
<h5>Type</h5>
|
||||
<p>@_raid.EventType</p>
|
||||
|
|
|
@ -17,7 +17,7 @@ h5 {
|
|||
|
||||
.times {
|
||||
display: inline-block;
|
||||
width: 250px;
|
||||
width: 270px;
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
|
|
|
@ -16,14 +16,28 @@
|
|||
<label style="white-space: pre-line">@_template.Description</label>
|
||||
|
||||
<span class="timesblock">
|
||||
<div class="times">
|
||||
<h5>Date</h5>
|
||||
<p>@_template.StartTime.ToLongDateString()</p>
|
||||
</div>
|
||||
<div class="times">
|
||||
<h5>Time</h5>
|
||||
<p>from: @_template.StartTime.ToShortTimeString() to: @_template.EndTime.ToShortTimeString()</p>
|
||||
</div>
|
||||
@if(_template.EndTime - _template.StartTime > new TimeSpan(24,0,0))
|
||||
{
|
||||
<span class="times">
|
||||
<h5>From</h5>
|
||||
<p>@_template.StartTime.ToLongDateString() @_template.StartTime.ToShortTimeString()</p>
|
||||
</span>
|
||||
<span class="times">
|
||||
<h5>To</h5>
|
||||
<p>@_template.EndTime.ToLongDateString() @_template.EndTime.ToShortTimeString()</p>
|
||||
</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="times">
|
||||
<h5>Date</h5>
|
||||
<p>@_template.StartTime.ToLongDateString()</p>
|
||||
</div>
|
||||
<div class="times">
|
||||
<h5>Time</h5>
|
||||
<p>from: @_template.StartTime.ToShortTimeString() to: @_template.EndTime.ToShortTimeString()</p>
|
||||
</div>
|
||||
}
|
||||
<div class="times">
|
||||
<h5>TimeZone</h5>
|
||||
<p>@_template.TimeZone</p>
|
||||
|
|
|
@ -18,7 +18,7 @@ h5 {
|
|||
|
||||
.times {
|
||||
display: inline-block;
|
||||
width: 250px;
|
||||
width: 270px;
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue