Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
1ad655cd
Commit
1ad655cd
authored
Dec 17, 2013
by
Olga Brani
Browse files
branding: Update admin-guide docs
* custom 403,404,500 documentation * Astakos landing page customization explained
parent
c770441b
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/admin-guide.rst
View file @
1ad655cd
...
...
@@ -1889,7 +1889,7 @@ feasible.
The output of all email `*`.txt files will be already customized to contain your
company and service names but you can further alter their content if you feel it
best fits your needs
as simple as creasynnefo template
.
best fits your needs.
In order to overwrite one or more email-templates you need to place your
modified <email-file>.txt files respecting the following structure:
...
...
@@ -1975,6 +1975,71 @@ description and a link to their content:
such as the activation link for activating one’s account and many more.
These variables are contained into {{}} inside the templates.
**Astakos landing page**
Astakos generates sensible default values used to display component-
specific details in several places across views (dashboard, cloudbar
etc.). One of these places is Astakos landing page where Synnefo components are
featured.
In case those values doesn'
t
seem
to
suit
your
deployment
,
Astakos
allows
you
to
override
any
of
them
using
``
ASTAKOS_COMPONENTS_META
``
setting
in
your
``/
etc
/
synnefo
/
20
-
snf
-
astakos
-
app
-
settings
.
conf
``
configuration
file
.
So
,
for
example
if
you
want
to
add
your
own
image
for
Astakos
service
and
in
the
same
time
hide
Cyclades
service
from
Astakos
landing
page
you
can
add
the
following
line
to
your
configuration
file
:
..
code
-
block
::
python
ASTAKOS_COMPONENTS_META
=
{
'astakos'
:
{
'dashboard'
:
{
'icon'
:
'<path-to-your-icon>'
}
},
'cyclades'
:
{
'dashboard'
:
{
'show'
:
False
}
}
}
A
complete
list
of
available
keys
is
shown
below
:
..
code
-
block
::
python
'<component-name>'
=
{
'order'
:
1
,
'dashboard'
:
{
'order'
:
1
,
'show'
:
True
,
'description'
:
'<component-description>'
,
'icon'
:
'<component-icon-path>'
,
},
'cloudbar'
:
{
'show'
:
True
}
}
**
403
,
404
and
500
pages
**
Feel
free
to
add
your
own
403
(
HTTP
Forbidden
),
404
(
Page
not
found
)
and
500
(
server
error
)
pages
.
To
override
the
default
Synnefo
error
views
,
you
must
write
and
include
any
of
the
files
403.
html
,
404.
html
and
500.
html
in
your
**/
etc
/
synnefo
/
templates
/**
directory
.
Their
content
is
up
to
you
,
but
you
may
use
as
guides
the
default
error
pages
found
in
:
**/
synnefo
/
snf
-
webproject
/
synnefo
/
webproject
/
templates
/**
|
403.
html
|
404.
html
|
500.
html
..
RabbitMQ
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment