1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-03-14 11:29:15 +01:00

more stuff translated....

Please enter the commit message for your changes. Lines starting
This commit is contained in:
lpgn 2016-01-19 15:58:07 +00:00
parent 112a571b40
commit f8b58e6dad
2 changed files with 3 additions and 3 deletions

View File

@ -17,12 +17,12 @@ Application.Controllers.filter "projectMemberFilter", [ "Auth", (Auth)->
(projects, selectedMember) ->
if !angular.isUndefined(projects) and angular.isDefined(selectedMember) and projects? and selectedMember? and selectedMember != ""
filteredProject = []
# Mes projets
# My projects
if selectedMember == '0'
angular.forEach projects, (project)->
if project.author_id == Auth._currentUser.id
filteredProject.push(project)
# les projets auxquels je collabore
# the projects I am working
else
angular.forEach projects, (project)->
if project.user_ids.indexOf(Auth._currentUser.id) != -1

View File

@ -113,7 +113,7 @@
<section class="widget panel b-a m" ng-if="project.project_users.length > 0">
<div class="panel-heading b-b">
<span class="badge bg-warning pull-right">{{project.project_users.length}}</span>
<h3>Les collaborateurs</h3>
<h3>The collaborators</h3>
</div>
<ul class="widget-content list-group list-group-lg no-bg auto">