mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 04:50:55 +01:00
Improve <title> on Diffusion pages
Test Plan: Visit /rX123. Visit /diffusion/X/. Reviewers: epriestley Reviewed By: epriestley CC: aran Differential Revision: https://secure.phabricator.com/D1463
This commit is contained in:
parent
d5eaef9567
commit
e142c7e26c
2 changed files with 4 additions and 5 deletions
|
@ -192,8 +192,7 @@ class DiffusionCommitController extends DiffusionController {
|
|||
$branch = $drequest->getBranchURIComponent(
|
||||
$drequest->getBranch());
|
||||
$filename = $changeset->getFilename();
|
||||
$commit = $drequest->getCommit();
|
||||
$reference = "{$branch}{$filename};{$commit}";
|
||||
$reference = "{$branch}{$filename};".$drequest->getCommit();
|
||||
$references[$key] = $reference;
|
||||
}
|
||||
|
||||
|
@ -216,7 +215,7 @@ class DiffusionCommitController extends DiffusionController {
|
|||
return $this->buildStandardPageResponse(
|
||||
$content,
|
||||
array(
|
||||
'title' => 'Diffusion',
|
||||
'title' => 'r'.$callsign.$commit->getCommitIdentifier(),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -106,7 +106,7 @@ class DiffusionRepositoryController extends DiffusionController {
|
|||
return $this->buildStandardPageResponse(
|
||||
$content,
|
||||
array(
|
||||
'title' => 'Diffusion',
|
||||
'title' => $drequest->getRepository()->getName(),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue