This repository has been archived on 2025-12-28. You can view files and clone it, but cannot push or open issues or pull requests.
inkletblot-forum-com-v1/views/home.html

23 lines
1016 B
HTML

<article ng-controller="forumCtrlr" ng-init="getCategories()">
<section class="item stretch border">
<h3>{{titles.main.heading}}</h3>
<br />
<h3>{{titles.recent.heading}}</h3> <br />
<table>
<tr>
<th>{{titles.recent.list}}</th>
<th>{{titles.recent.last}}</th>
</tr>
<tr ng-repeat="cat in categories">
<td><span class="link" ng-click="setCat(cat.catNo)">{{cat.catName}}</span> <br />
{{cat.catDescr}} </td>
<td ng-if="!(cat.lastTopic.topicNo == null)"><span class="link" ng-click="setTopic(cat.lastTopic.topicNo)">{{cat.lastTopic.topicSubject}}</span> {{cat.lastTopic.topicDate}}</td>
<td ng-if="cat.lastTopic.topicNo == null">{{errors.topic.text}}</td>
</tr>
<tr ng-if="errors.catagory.show">
<td colspan="2">{{errors.catagory.text}}</td>
</tr>
</table>
</section>
</article>