Commit 52b20f9f authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #2301 no help for architecture and section in repository service

parent c50671bc
......@@ -35,9 +35,9 @@ class FAIreleaseAttribute extends SelectAttribute
}
parent::setValue($value);
if (isset($this->plugin)) {
$this->plugin->attributesInfo['main']['attrs']['FAIclass']->attributes['profil']->setChoices($this->plugin->cache['PROFILES'][$value]);
$this->plugin->attributesInfo['main']['attrs']['FAIdebianMirror']->setChoices($this->plugin->cache['SERVERS'][$value]);
$this->plugin->attributesInfo['startup']['attrs']['gotoBootKernel']->setRelease($value);
$this->plugin->attributesAccess['FAIclass']->attributes['profil']->setChoices($this->plugin->cache['PROFILES'][$value]);
$this->plugin->attributesAccess['FAIdebianMirror']->setChoices($this->plugin->cache['SERVERS'][$value]);
$this->plugin->attributesAccess['gotoBootKernel']->setRelease($value);
}
}
......@@ -153,8 +153,7 @@ class faiStartup extends simplePlugin
$this->cache['PROFILES'] = array();
$o_queue = new supportDaemon();
foreach (array_keys($this->cache['SERVERS']) as $release) {
/* Get the list of available servers and their releases.
*/
/* Get the list of available servers and their releases. */
$tmp = $o_queue->FAI_get_profiles($release);
if ($o_queue->is_error()) {
......
......@@ -15,7 +15,7 @@
</td>
<td>{eval var=$attributes.mirrorUrl.input}</td>
<td rowspan="3">
<td rowspan="3" title="{$attributes.mirrorArchs_inner.description}">
<label for="{$attributes.mirrorArchs_inner.htmlid}">
{eval var=$attributes.mirrorArchs_inner.label}
</label><br/>
......@@ -46,7 +46,7 @@
</td>
<td>{eval var=$attributes.mirrorMode.input}</td>
<td rowspan="2">
<td rowspan="2" title="{$attributes.mirrorSections_inner.description}">
<label for="{$attributes.mirrorSections_inner.htmlid}">
{eval var=$attributes.mirrorSections_inner.label}
</label><br/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment