Profile Tabs Directive

stable
Xavier Julián 2015-03-27 08:10:44 +01:00 committed by Juanfran
parent 0bb4664921
commit 3d8a8b29cd
5 changed files with 62 additions and 1 deletions

View File

@ -333,6 +333,7 @@ modules = [
"taigaPlugins",
"taigaIntegrations",
"taigaComponents",
"taigaProfile",
# template cache
"templates",

View File

@ -0,0 +1,22 @@
###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# File: modules/team.coffee
###
module = angular.module("taigaProfile", [])

View File

@ -0,0 +1,37 @@
###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# File: modules/team/main.coffee
###
taiga = @.taiga
module = angular.module("taigaProfile")
#############################################################################
## Profile Tabs
#############################################################################
ProfileTabsDirective = () ->
link = ($scope, $el, $attrs) ->
console.log $el
return {link:link}
module.directive("tgProfileTabs", ProfileTabsDirective)

View File

@ -1,7 +1,7 @@
include ../includes/components/beta
div.profile.centered
include ../includes/modules/profile/profile-bar
div.main
div.main(tg-profile-tabs)
div.hero
include ../includes/modules/profile/profile-content-tabs
div.content-wrapper

View File

@ -103,6 +103,7 @@ paths.coffee_order = [
paths.app + "coffee/modules/admin/*.coffee",
paths.app + "coffee/modules/projects/*.coffee",
paths.app + "coffee/modules/locales/*.coffee",
paths.app + "coffee/modules/profile/*.js",
paths.app + "coffee/modules/base/*.coffee",
paths.app + "coffee/modules/resources/*.coffee",
paths.app + "coffee/modules/user-settings/*.coffee",