Skip to content
Snippets Groups Projects
Commit a7a09cca authored by deuce's avatar deuce
Browse files

Fix links from subinfo... link to the group was broken... added link to the

sub.
parent 4554d075
No related branches found
No related tags found
No related merge requests found
......@@ -34,8 +34,10 @@ if(http_request.virtual_path=="/msgs/index.ssjs" || http_request.virtual_path=="
if(http_request.virtual_path=="/msgs/subs.ssjs")
template.topnav.push({html: '<a class="tlink" href="/msgs">Message Groups</a><span class="tlink">'+template.group.description+'</span>'});
if(http_request.virtual_path=="/msgs/subinfo.ssjs" && sub!='mail')
template.topnav.push({html: '<a class="tlink" href="/msgs">Message Groups</a><a class="tlink" href="/msgs/subs.ssjs?msg_grp='+template.sub.name+'">'+template.sub.description+'</a><span class="tlink">Sub Information</span>'});
if(http_request.virtual_path=="/msgs/subinfo.ssjs" && sub!='mail') {
template.topnav.push({html: '<a class="tlink" href="/msgs">Message Groups</a><a class="tlink" href="/msgs/subs.ssjs?msg_grp='+msg_area.grp[template.sub.grp_name].name+'">'+template.sub.grp_name+'</a>'});
template.topnav.push({html: '<a class="tlink" href="/msgs/msgs.ssjs?msg_sub='+template.sub.code+'">'+template.sub.name+'</a><span class="tlink">Sub Information</span>'});
}
if(http_request.virtual_path=="/msgs/msgs.ssjs" && sub!='mail')
template.topnav.push({html: '<a class="tlink" href="index.ssjs">Message Groups</a><a class="tlink" href="subs.ssjs?msg_grp='+template.group.name+'">'+template.group.description+'</a><a class="tlink" href="subinfo.ssjs?msg_sub='+encodeURIComponent(template.sub.code)+'" title="Click for Sub Info">'+template.sub.description+'</a>'});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment