Removed calls to _Encoded() that are no longer needed

--HG--
branch : dev
This commit is contained in:
Phil Haack
2010-06-09 21:21:01 -07:00
parent afb6afe309
commit 278cc6e0fa
11 changed files with 36 additions and 51 deletions

View File

@@ -12,7 +12,7 @@ if (Model.Entries.Count() > 0) { %>
int totalPostCount = entry.TotalPostCount;
var draftText = (draftCount == 0 ? "": string.Format(" ({0} draft{1})", draftCount, draftCount == 1 ? "" : "s"));
var linkContent = _Encoded("{0} post{1}{2}", totalPostCount, totalPostCount == 1 ? "" : "s", draftText);
var linkContent = T("{0} post{1}{2}", totalPostCount, totalPostCount == 1 ? "" : "s", draftText);
html.ViewContext.Writer.Write(html.Link(linkContent.ToString(), Url.BlogForAdmin(entry.ContentItemViewModel.Item.Slug)));
});