# Projects #

## Installation ##

Via composer

Add `"claromentis/projects":"*"` to `modules.json` and run installer.

Manually:
  * clone this repository to application/web/intranet/projects
  * go to "application" folder in Claromentis and run `vendor/bin/phing -Dapp=projects install`

## Homepage Components  ##

### Project List ###

Showing list of project, progress and RAG, also has services metadata with images
* The id attribute must be unique on the page.
* hide_if_empty - Will remove the component if the user is not part of any project team 
* max_projects - How many projects to show in this list

``` <component class="\Claromentis\Projects\UI\MyProjects" id="project_A" hide_if_empty="false" /> ```


### Task List  ###

Showing list of my tasks
* The id attribute must be unique on the page.
* hide_if_empty - Will remove the component if the user has no tasks assigned to them
* max_tasks - How many tasks to show in this list

``` <component class="\Claromentis\Projects\UI\MyTasks" id="task_A" hide_if_empty="true" /> ```