From 0cc00bfbeaed9484dc7f6e356cf436a54fd38795 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 26 Jul 2018 09:05:57 +0200 Subject: [PATCH] Added comments for icon methods. --- app/assets/javascripts/app/models/_application_model.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/javascripts/app/models/_application_model.coffee b/app/assets/javascripts/app/models/_application_model.coffee index 50724313b..12631a50c 100644 --- a/app/assets/javascripts/app/models/_application_model.coffee +++ b/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) -> ''