chg(forums): change title and greet message of forum home

This commit is contained in:
OldHawk
2018-03-14 13:18:37 +08:00
parent a1a218d6e0
commit 3a77ccb021
4 changed files with 6 additions and 5 deletions

View File

@@ -1107,8 +1107,8 @@
//forum
FORUMS: {
FORUM_TITLE: 'meanTorrent Forums',
FORUM_SUB_TITLE: 'Welcome to meanTorrent forums!',
FORUM_TITLE: '{{site_name}} Official Forums',
FORUM_SUB_TITLE: 'Welcome to ours official forums, have a good day!',
HOME_INDEX: 'Forums Home',
BTN_ADD_FORUM: 'Add New Forum',
BTN_EDIT_FORUM: 'Edit Forum',

View File

@@ -1107,8 +1107,8 @@
//forum
FORUMS: {
FORUM_TITLE: 'meanTorrent 官方论坛',
FORUM_SUB_TITLE: '欢迎您进入 meanTorrent 官方论坛,请文明发言,谢谢!',
FORUM_TITLE: '{{site_name}} 官方论坛',
FORUM_SUB_TITLE: '欢迎您进入我们的官方论坛,请文明发言,谢谢!',
HOME_INDEX: '论坛首页',
BTN_ADD_FORUM: '添加版块',
BTN_EDIT_FORUM: '编辑版块',

View File

@@ -10,6 +10,7 @@
function ForumsSearchController($scope, $state, $translate, Authentication, MeanTorrentConfig, ForumsService, mtDebug) {
var vm = this;
vm.forumsConfig = MeanTorrentConfig.meanTorrentConfig.forumsConfig;
vm.appConfig = MeanTorrentConfig.meanTorrentConfig.app;
vm.user = Authentication.user;
vm.forumList = [];

View File

@@ -2,7 +2,7 @@
<div class="container">
<div class="col-sm-7">
<div class="page-header">
<h2 translate="FORUMS.FORUM_TITLE"></h2>
<h2 translate="FORUMS.FORUM_TITLE" translate-values="{site_name: vm.appConfig.name}"></h2>
<p class="text-muted" translate="FORUMS.FORUM_SUB_TITLE"></p>
</div>