Skip to content

Commit 7c4dc82

Browse files
committed
Added Title to Last Post shortened post title
1 parent d73c7b7 commit 7c4dc82

File tree

4 files changed

+3
-33
lines changed

4 files changed

+3
-33
lines changed

branches/DNN_5/Components/UI/Groups.vb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,8 @@ Namespace DotNetNuke.Modules.Forum
918918

919919
url = Utilities.Links.ContainerViewPostLink(TabID, objForum.ForumID, objForum.MostRecentPostID)
920920
wr.AddAttribute(HtmlTextWriterAttribute.Href, url)
921-
wr.AddAttribute(HtmlTextWriterAttribute.Class, "Forum_LastPostText")
921+
wr.AddAttribute(HtmlTextWriterAttribute.Class, "Forum_LastPostText")
922+
wr.AddAttribute(HtmlTextWriterAttribute.Title, System.Web.HttpUtility.HtmlDecode(lastPostInfo.Subject))
922923
wr.RenderBeginTag(HtmlTextWriterTag.A) ' <a>
923924
wr.Write(truncatedTitle)
924925
wr.RenderEndTag() ' </A>

branches/DNN_5/DotNetNuke.Forum.vbproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,6 @@
678678
<None Include="Providers\DataProviders\SqlDataProvider\05.00.01.SqlDataProvider" />
679679
<Content Include="Providers\DataProviders\SqlDataProvider\05.00.04.SqlDataProvider" />
680680
<None Include="Providers\DataProviders\SqlDataProvider\Uninstall.SqlDataProvider" />
681-
<Content Include="web.config" />
682681
</ItemGroup>
683682
<ItemGroup>
684683
<Content Include="App_LocalResources\ACP.ascx.resx">

branches/DNN_5/ReleaseNotes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<li>Fixed forum thread header</li>
1818
<li>Cleaning forum avatars to support only avatar specified in user settings</li>
1919
<li>Fixing Quick Reply causing duplicates when user pressing submit more than once</li>
20+
<li>Added Forum last post to include Title attribute, not just the shortened post title</li>
2021
</ul>
2122

2223
<p class="Owner">

branches/DNN_5/web.config

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)