Moved application image inside the anchor
This commit is contained in:
parent
40c6d09c9f
commit
34cc03c617
@ -94,10 +94,6 @@ class ApplicationList extends Widget
|
|||||||
$this->out->elementStart('li', array('class' => 'application',
|
$this->out->elementStart('li', array('class' => 'application',
|
||||||
'id' => 'oauthclient-' . $this->application->id));
|
'id' => 'oauthclient-' . $this->application->id));
|
||||||
|
|
||||||
if (!empty($this->application->icon)) {
|
|
||||||
$this->out->element('img', array('src' => $this->application->icon));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!$this->connections) {
|
if (!$this->connections) {
|
||||||
$this->out->elementStart('a',
|
$this->out->elementStart('a',
|
||||||
array('href' => common_local_url('showapplication',
|
array('href' => common_local_url('showapplication',
|
||||||
@ -105,15 +101,18 @@ class ApplicationList extends Widget
|
|||||||
'id' => $this->application->id)),
|
'id' => $this->application->id)),
|
||||||
'class' => 'url'));
|
'class' => 'url'));
|
||||||
|
|
||||||
$this->out->raw($this->application->name);
|
|
||||||
$this->out->elementEnd('a');
|
|
||||||
} else {
|
} else {
|
||||||
$this->out->elementStart('a', array('href' => $this->application->source_url,
|
$this->out->elementStart('a', array('href' => $this->application->source_url,
|
||||||
'class' => 'url'));
|
'class' => 'url'));
|
||||||
$this->out->raw($this->application->name);
|
|
||||||
$this->out->elementEnd('a');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($this->application->icon)) {
|
||||||
|
$this->out->element('img', array('src' => $this->application->icon));
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->out->raw($this->application->name);
|
||||||
|
$this->out->elementEnd('a');
|
||||||
|
|
||||||
$this->out->raw(' by ');
|
$this->out->raw(' by ');
|
||||||
|
|
||||||
$this->out->elementStart('a', array('href' => $this->application->homepage,
|
$this->out->elementStart('a', array('href' => $this->application->homepage,
|
||||||
|
Loading…
Reference in New Issue
Block a user