Merge remote-tracking branch 'origin/master' into feature/mobile-right-menu
This commit is contained in:
commit
4537712dde
30
README.md
30
README.md
@ -424,6 +424,36 @@ Where:
|
||||
|
||||
Setting custom langs will not allow user to choose their own lang.
|
||||
|
||||
### Invoices
|
||||
|
||||
Invoices allow your Projects to manage invoices
|
||||
|
||||
Project is mandatory.
|
||||
|
||||
You'll need:
|
||||
|
||||
On Server: `djangoldp_invoice` packages
|
||||
|
||||
Module declaration, on `config.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "projects",
|
||||
"extensions": [
|
||||
{
|
||||
"type": "invoices",
|
||||
"endpoints": {
|
||||
"uploads": "http://server.url/upload/"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Where:
|
||||
|
||||
* `xmpp` is your [Prosody](https://prosody.im/) with [appropriate modules](https://git.startinblox.com/infra/prosody-modules/) configured on.
|
||||
|
||||
### Job Offers
|
||||
|
||||
Job Offers includes a job board with conversation. To activate them
|
||||
|
@ -18,25 +18,25 @@
|
||||
for extension of component.extensions
|
||||
if extension.type == 'events'
|
||||
div(
|
||||
id=`${component.route}-events`
|
||||
id=`${extension.route}-events`
|
||||
hidden
|
||||
data-view=`${component.route}-events`
|
||||
data-view=`${extension.route}-events`
|
||||
no-render
|
||||
)
|
||||
include partials/circle/page-circle-events.pug
|
||||
if extension.type == 'resources'
|
||||
div(
|
||||
id=`${component.route}-resources`
|
||||
id=`${extension.route}-resources`
|
||||
hidden
|
||||
data-view=`${component.route}-resources`
|
||||
data-view=`${extension.route}-resources`
|
||||
no-render
|
||||
)
|
||||
include partials/circle/page-circle-resources.pug
|
||||
if extension.type == 'polls'
|
||||
div(
|
||||
id=`${component.route}-polls`
|
||||
id=`${extension.route}-polls`
|
||||
hidden
|
||||
data-view=`${component.route}-polls`
|
||||
data-view=`${extension.route}-polls`
|
||||
no-render
|
||||
)
|
||||
include partials/circle/page-circle-polls.pug
|
||||
@ -60,17 +60,17 @@ nav.jsRightMenu.segment.sm-hidden.text-disable-selection.sidebar.whitespace-norm
|
||||
if component.extensions
|
||||
for extension of component.extensions
|
||||
if extension.type == 'resources'
|
||||
solid-route.segment.full(name=`${component.route}-resources` use-id)
|
||||
solid-route.segment.full(name=`${extension.route}-resources` use-id)
|
||||
li.segment.full.padding-medium
|
||||
span.icon.ci-file.icon-xlarge.margin-right-medium
|
||||
a(data-trans='circle.menuRight.resources')
|
||||
if extension.type == 'events'
|
||||
solid-route.segment.full(name=`${component.route}-events` use-id)
|
||||
solid-route.segment.full(name=`${extension.route}-events` use-id)
|
||||
li.segment.full.padding-medium
|
||||
span.icon.ci-appointment.icon-xlarge.margin-right-medium
|
||||
a(data-trans='circle.menuRight.events')
|
||||
if extension.type == 'polls'
|
||||
solid-route.segment.full(name=`${component.route}-polls` use-id)
|
||||
solid-route.segment.full(name=`${extension.route}-polls` use-id)
|
||||
li.segment.full.padding-medium
|
||||
span.icon.ci-list.icon-xlarge.margin-right-medium
|
||||
a(data-trans='circle.menuRight.polls')
|
||||
|
@ -21,6 +21,16 @@
|
||||
no-render
|
||||
)
|
||||
include partials/project/page-project-picture.pug
|
||||
if component.extensions
|
||||
for extension of component.extensions
|
||||
if extension.type == 'invoices'
|
||||
div(
|
||||
id=`${extension.route}-invoices`
|
||||
hidden
|
||||
data-view=`${extension.route}-invoices`
|
||||
no-render
|
||||
)
|
||||
include partials/project/page-project-invoices.pug
|
||||
|
||||
nav.jsRightMenu.segment.sm-hidden.text-disable-selection.sidebar.whitespace-normal(role='navigation')
|
||||
solid-router.segment.whitespace-normal.text-color-heading.text-bold(default-route=`${component.route}-chat`)
|
||||
@ -39,3 +49,10 @@ nav.jsRightMenu.segment.sm-hidden.text-disable-selection.sidebar.whitespace-norm
|
||||
span.icon.ci-information.icon-xlarge.margin-right-medium
|
||||
a(data-trans='project.menuRight.information')
|
||||
solid-route(name=`${component.route}-picture` use-id)
|
||||
if component.extensions
|
||||
for extension of component.extensions
|
||||
if extension.type == 'invoices'
|
||||
solid-route.segment.full(name=`${extension.route}-invoices` use-id)
|
||||
li.segment.full.padding-medium
|
||||
span.icon.ci-list.icon-xlarge.margin-right-medium
|
||||
a(data-trans='circle.menuRight.invoices')
|
||||
|
5
src/views/partials/project/page-project-invoices.pug
Normal file
5
src/views/partials/project/page-project-invoices.pug
Normal file
@ -0,0 +1,5 @@
|
||||
solid-invoicing(
|
||||
bind-resources
|
||||
upload-dir=`${extension.endpoints.uploads}`
|
||||
uniq=extension.uniq
|
||||
)
|
Loading…
Reference in New Issue
Block a user