Browse Source

Added comments for icon methods.

Martin Edenhofer 6 years ago
parent
commit
0cc00bfbea
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/assets/javascripts/app/models/_application_model.coffee

+ 3 - 0
app/assets/javascripts/app/models/_application_model.coffee

@@ -69,12 +69,15 @@ class App.Model extends Spine.Model
       return @login
     return '???'
 
+  # shows the icon representing the object itself (e. g. the organization icon in organization profile or ticket sidebar)
   icon: (user) ->
     ''
 
+  # shows icons in a list of objects (e. g. the traffic light rings in the ticket list in user profile)
   iconTitle: (user) ->
     ''
 
+  # shows icons in the activity stream (e. g. show ! if the activity stream icon is belonging to the session user)
   iconActivity: (user) ->
     ''