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:
parent
112a571b40
commit
f8b58e6dad
@ -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
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user