mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-06 12:11:02 +01:00
feat(forums): init post new topic view
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
.controller('ForumsPostController', ForumsPostController);
|
||||
|
||||
ForumsPostController.$inject = ['$scope', '$state', '$translate', 'Authentication', 'MeanTorrentConfig', 'ForumsService', 'SideOverlay', '$filter', 'NotifycationService',
|
||||
'marked', 'ModalConfirmService', '$stateParams', 'TopicsService'];
|
||||
'marked', 'ModalConfirmService', '$stateParams', 'TopicsService', 'localStorageService'];
|
||||
|
||||
function ForumsPostController($scope, $state, $translate, Authentication, MeanTorrentConfig, ForumsService, SideOverlay, $filter, NotifycationService,
|
||||
marked, ModalConfirmService, $stateParams, TopicsService) {
|
||||
marked, ModalConfirmService, $stateParams, TopicsService, localStorageService) {
|
||||
var vm = this;
|
||||
vm.forumsConfig = MeanTorrentConfig.meanTorrentConfig.forumsConfig;
|
||||
vm.user = Authentication.user;
|
||||
@@ -22,7 +22,9 @@
|
||||
autofocus:false,
|
||||
savable:false,
|
||||
iconlibrary: 'fa',
|
||||
resize: 'vertical'
|
||||
resize: 'vertical',
|
||||
language: localStorageService.get('storage_user_lang'),
|
||||
fullscreen: { enable: false}
|
||||
});
|
||||
|
||||
// get forum info by state params
|
||||
|
||||
Reference in New Issue
Block a user