Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MOOC packages by hacklab
django-courses
Commits
e67e5852
Commit
e67e5852
authored
Oct 09, 2020
by
Matheus Miranda
Browse files
Update names for accessible areas
parent
12117799
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
courses/stats/serializers.py
courses/stats/serializers.py
+2
-2
No files found.
courses/stats/serializers.py
View file @
e67e5852
...
...
@@ -67,12 +67,12 @@ class ActionSerializer(serializers.ModelSerializer):
def
get_accesible_area_name
(
self
,
name
):
accesible_areas
=
{
'Dashboard'
:
'Painel Inicial'
,
'Chat Main Page'
:
'C
onversa
s'
,
'Chat Main Page'
:
'C
hat
s'
,
'Profile Page'
:
'Página de perfil'
,
'Notes'
:
'Anotações'
,
'Classrooms'
:
'Salas'
,
'Courses'
:
'Lista de Espaços Formativos'
,
'Messages'
:
'
Mensagen
s'
,
'Messages'
:
'
Aviso
s'
,
'Forums'
:
'Fóruns'
,
}
return
accesible_areas
.
get
(
name
,
name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment