Merge pull request #760 from umbraco/U4-6798
U4-6798 Rollback Dialog Displays Incorrect Author.
This commit is contained in:
@@ -34,7 +34,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.Writer.Name + "</td></tr>";
|
||||
|
||||
if (rbl_mode.SelectedValue == "diff")
|
||||
lt_notice.Text = ui.Text("rollback", "diffHelp");
|
||||
|
||||
Reference in New Issue
Block a user