Merge pull request #180 from Jeavon/U4-3432
Fix for U4-3432Rollback Dialog - CreateDate/Creator formatting tweaks
This commit is contained in:
@@ -287,7 +287,7 @@
|
||||
<key alias="alias">Alias</key>
|
||||
<key alias="areyousure">Are you sure?</key>
|
||||
<key alias="border">Border</key>
|
||||
<key alias="by">or</key>
|
||||
<key alias="by">by</key>
|
||||
<key alias="cancel">Cancel</key>
|
||||
<key alias="cellMargin">Cell margin</key>
|
||||
<key alias="choose">Choose</key>
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace umbraco.presentation.dialogs
|
||||
Document rollback = new Document(currentDoc.Id, new Guid(allVersions.SelectedValue));
|
||||
|
||||
propertiesCompare.Text = "<tr><th style='width: 25%;' valign='top'>" + ui.Text("general", "name") + ":</th><td>" + rollback.Text + "</td></tr>";
|
||||
propertiesCompare.Text += "<tr><th style='width: 25%;' valign='top'>" + ui.Text("content", "createDate") + ":</th><td>" + rollback.VersionDate.ToLongDateString() + " " + rollback.VersionDate.ToLongTimeString() + ui.Text("general", "by") + ": " + rollback.User.Name + "</td></tr>";
|
||||
propertiesCompare.Text += "<tr><th style='width: 25%;' valign='top'>" + ui.Text("content", "createDate") + ":</th><td>" + rollback.VersionDate.ToLongDateString() + " " + rollback.VersionDate.ToLongTimeString() + " " + ui.Text("general", "by") + ": " + rollback.User.Name + "</td></tr>";
|
||||
|
||||
if (rbl_mode.SelectedValue == "diff")
|
||||
lt_notice.Text = ui.Text("rollback", "diffHelp");
|
||||
|
||||
Reference in New Issue
Block a user