Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php |
— | — | @@ -379,16 +379,21 @@ |
380 | 380 | } |
381 | 381 | case 'cr_path': |
382 | 382 | $title = $this->mRepo->getName(); |
| 383 | + |
| 384 | + $options = array( 'path' => (string)$value ); |
383 | 385 | if( $this->mView->mAuthor ) { |
384 | | - $title .= '/author/' . $this->mView->mAuthor; |
| 386 | + $options['author'] = $this->mView->mAuthor; |
385 | 387 | } |
| 388 | + if ( $this->mView->mStatus ) { |
| 389 | + $options['status'] = $this->mView->mStatus; |
| 390 | + } |
386 | 391 | |
387 | 392 | return Xml::openElement( 'div', array( 'title' => (string)$value ) ) . |
388 | 393 | $this->mView->skin->link( |
389 | 394 | SpecialPage::getTitleFor( 'Code', $title ), |
390 | 395 | $wgLang->truncate( (string)$value, 50 ), |
391 | 396 | array( 'title' => (string)$value ), |
392 | | - array( 'path' => (string)$value ) |
| 397 | + $options |
393 | 398 | ) . "</div>"; |
394 | 399 | } |
395 | 400 | } |