mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-07-16 15:03:21 +08:00
18 lines
437 B
Plaintext
18 lines
437 B
Plaintext
![]() |
@using Orchard.Utility.Extensions
|
||
|
|
||
|
@{
|
||
|
string name = Model.Name;
|
||
|
string title = null;
|
||
|
if (Model.State != null && HasText(Model.State.Unity)) {
|
||
|
string amount = Model.State.Amount;
|
||
|
string unity = Model.State.Unity;
|
||
|
title = T("{0} {1} after", amount, T(unity).Text).Text;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
<div class="event" title="@title">
|
||
|
<div class="timer" ></div>
|
||
|
@*@name.CamelFriendly()*@
|
||
|
</div>
|
||
|
|