mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-07-15 09:11:34 +08:00

Also ensure that any existing parameter is not double-encoded by removing .Text when used as a translation parameter.
18 lines
432 B
Plaintext
18 lines
432 B
Plaintext
@using Orchard.Utility.Extensions
|
|
|
|
@{
|
|
string name = Model.Name;
|
|
IHtmlString 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));
|
|
}
|
|
}
|
|
|
|
<div class="event" title="@title">
|
|
<div class="timer" ></div>
|
|
@*@name.CamelFriendly()*@
|
|
</div>
|
|
|