Skip to content
This repository has been archived by the owner on Oct 24, 2018. It is now read-only.

Commit

Permalink
Merge branch 'feature/578_add_api_for_workspace/apps' of github.com:t…
Browse files Browse the repository at this point in the history
…racim/tracim_backend into feature/578_add_api_for_workspace/apps
  • Loading branch information
inkhey committed Jun 12, 2018
2 parents 61dbfe7 + 482dd72 commit 87bf2dc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tracim/models/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ def __init__(
config: typing.Dict[str, str],
main_route: str,
) -> None:
"""
@param label: public label of application
@param slug: identifier of application
@param icon: font awesome icon class
@param hexcolor: hexa color of application main color
@param is_active: True if application enable, False if inactive
@param config: a dict with eventual application config
@param main_route: the route of the frontend "home" screen of
the application. For exemple, if you have an application
called "calendar", the main route will be something
like /#/workspace/{wid}/calendar.
"""
self.label = label
self.slug = slug
self.fa_icon = fa_icon
Expand Down

0 comments on commit 87bf2dc

Please sign in to comment.