Merge
This commit is contained in:
commit
f354619bb6
6 changed files with 242 additions and 213 deletions
|
@ -213,4 +213,7 @@
|
|||
<data name="DomainExpirationDate.NotExist" xml:space="preserve">
|
||||
<value>Non-Existent</value>
|
||||
</data>
|
||||
<data name="DomainLookup.TooltipHeader" xml:space="preserve">
|
||||
<value>Current Real DNS Values</value>
|
||||
</data>
|
||||
</root>
|
|
@ -39,6 +39,7 @@ using System.Web.UI.HtmlControls;
|
|||
using System.Linq;
|
||||
|
||||
using WebsitePanel.EnterpriseServer;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace WebsitePanel.Portal
|
||||
{
|
||||
|
@ -160,7 +161,15 @@ namespace WebsitePanel.Portal
|
|||
return "No Dns Records";
|
||||
}
|
||||
|
||||
return string.Join("\r\n", records.Select(x=>string.Format("{0}: {1}", x.RecordType, x.Value)));
|
||||
var header = GetLocalizedString("DomainLookup.TooltipHeader");
|
||||
|
||||
var tooltipLines = new List<string>();
|
||||
|
||||
tooltipLines.Add(header);
|
||||
tooltipLines.Add(" ");
|
||||
tooltipLines.AddRange( records.Select(x=>string.Format("{0}: {1}", x.RecordType, x.Value)));
|
||||
|
||||
return string.Join("\r\n", tooltipLines);
|
||||
}
|
||||
|
||||
protected void odsDomainsPaged_Selected(object sender, ObjectDataSourceStatusEventArgs e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue