r103071 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103070‎ | r103071 | r103072 >
Date:23:24, 14 November 2011
Author:reedy
Status:deferred
Tags:
Comment:
Attempt at improving output of Special:NovaProject
Modified paths:
  • /trunk/extensions/OpenStackManager/modules/ext.openstack.css (modified) (history)
  • /trunk/extensions/OpenStackManager/special/SpecialNovaProject.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenStackManager/special/SpecialNovaProject.php
@@ -212,6 +212,7 @@
213213
214214 $this->setHeaders();
215215 $wgOut->setPagetitle( wfMsg( 'openstackmanager-projectlist' ) );
 216+ $wgOut->addModuleStyles( 'ext.openstack' );
216217
217218 $out = '';
218219 $sk = $wgOut->getSkin();
@@ -259,7 +260,7 @@
260261 $rolesOut .= Html::rawElement( 'tr', array(), $roleOut );
261262 }
262263 $rolesOut = Html::rawElement( 'table', array( 'class' => 'wikitable sortable collapsible' ), $rolesOut );
263 - $projectOut .= Html::rawElement( 'td', array(), $rolesOut );
 264+ $projectOut .= Html::rawElement( 'td', array( 'class' => 'Nova_cell' ), $rolesOut );
264265 $link = $sk->link( $this->getTitle(), wfMsgHtml( 'openstackmanager-deleteproject' ), array(),
265266 array( 'action' => 'delete', 'projectname' => $projectName ) );
266267 $actions = Html::rawElement( 'li', array(), $link );
Index: trunk/extensions/OpenStackManager/modules/ext.openstack.css
@@ -1,4 +1,7 @@
22 .Nova_col {
33 max-width: 50em;
44 overflow: hidden;
 5+}
 6+.Nova_cell{
 7+vertical-align: top;
58 }
\ No newline at end of file

Status & tagging log