From 5e37af5d69da3140cb3d6b1bd0264a3cd26a500d Mon Sep 17 00:00:00 2001 From: Vito Albano Date: Tue, 8 Nov 2016 17:47:43 +0000 Subject: [PATCH] Updated readme for the new changes --- .../ng2-alfresco-userinfo/README.md | 52 ++++++++++++++++++- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/ng2-components/ng2-alfresco-userinfo/README.md b/ng2-components/ng2-alfresco-userinfo/README.md index 247591e3ef..5c11357cba 100644 --- a/ng2-components/ng2-alfresco-userinfo/README.md +++ b/ng2-components/ng2-alfresco-userinfo/README.md @@ -1,5 +1,38 @@ # Alfresco User Info Component for Angular 2 -This component will show the user information for ECM and BPM +

+ + travis
+    Status + + + travis
+    Status + + + Coverage Status + + + npm downloads + + + license + + + alfresco component + + + angular 2 + + + typescript + + + node version + +

+ +### Node +To correctly use this component check that on your machine is running Node version 5.0.0 or higher. ## Prerequisites @@ -48,9 +81,24 @@ Also make sure you include these dependencies in your `index.html` file: ## Example +## Basic usage + ```html - + + ``` + +### Properties + +| Name | Type | Default | Description | +| --- | --- | --- | --- | +| ecmBackgroundImage | string | | Custom path for the background banner image for ECM users | +| bpmBackgroundImage | string | | Custom path for the background banner image for BPM users | +| fallBackThumbnailImage | string | ng2-alfresco-userinfo/src/img/anonymous.gif | Fallback image for profile when thubnail is missing| + This will show a round icon with user and on click some user information are showed. If user is logged in with ECM and BPM the ECM image will be showed.