mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-18 17:47:54 +08:00
Merge pull request #6441 from dcinzona/patch-2
[Fixes #6440] Last Login and Created Date
This commit is contained in:
@@ -87,10 +87,14 @@
|
||||
}
|
||||
</td>
|
||||
<td>
|
||||
@Display(New.DateTimeRelative(dateTimeUtc: entry.User.CreatedUtc))
|
||||
@if (entry.User.CreatedUtc != null) {
|
||||
@Display(New.DateTimeRelative(dateTimeUtc: entry.User.CreatedUtc))
|
||||
}
|
||||
</td>
|
||||
<td>
|
||||
@Display(New.DateTimeRelative(dateTimeUtc: entry.User.LastLoginUtc))
|
||||
@if (entry.User.LastLoginUtc != null) {
|
||||
@Display(New.DateTimeRelative(dateTimeUtc: entry.User.LastLoginUtc))
|
||||
}
|
||||
</td>
|
||||
</tr>
|
||||
userIndex++;
|
||||
@@ -100,4 +104,4 @@
|
||||
@Display(Model.Pager)
|
||||
|
||||
</fieldset>
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user