Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory-plugins
Commits
af968adb
Commit
af968adb
authored
May 06, 2015
by
Côme Bernigaud
Committed by
Benoit Mortier
May 07, 2015
Browse files
Fixes
#3255
Have a clear message in FAI when there are no release
parent
72ccdb08
Changes
1
Hide whitespace changes
Inline
Side-by-side
fai/admin/fai/class_faiManagement.inc
View file @
af968adb
...
...
@@ -127,6 +127,24 @@ class faiManagement extends simpleManagement
);
}
function
execute
()
{
if
(
empty
(
$this
->
headpage
->
bases
))
{
return
$this
->
getHeader
()
.
'<div class="notice">'
.
'<div class="msgtitle">'
.
'<h2>'
.
'<img src="geticon.php?context=status&icon=dialog-warning&size=32" class="center" alt="{t}Warning{/t}"/>'
.
_
(
'There are no FAI branches'
)
.
'</h2>'
.
'</div><div>'
.
_
(
' Please add at least one repository service to create those.'
)
.
'</div>'
.
'</div>'
;
}
return
parent
::
execute
();
}
/*! \brief Returns a list of all releases for useable for drop down boxes.
*/
static
function
getReleaseList
()
...
...
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