fix(content): #106 s/Timeline/Activity Stream/

This commit is contained in:
Ricky Rosario 2016-02-18 14:11:58 -05:00
Родитель 9b17312f54
Коммит 2044d8bbce
3 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -16,7 +16,7 @@ const Header = React.createClass({
</h1>
<ul className="nav-picker" hidden={!this.state.showDropdown}>
<li hidden={props.currentRoute.path === "/"}><Link to="/">Home</Link></li>
<li hidden={props.currentRoute.path === "/timeline"}><Link to="/timeline">Timeline</Link></li>
<li hidden={props.currentRoute.path === "/timeline"}><Link to="/timeline">Activity Stream</Link></li>
</ul>
</section>
<section className="spacer" />

Просмотреть файл

@ -9,7 +9,7 @@ const Routes = React.createClass({
return (<Router history={history}>
<Route path="/" component={require("components/Base/Base")}>
<IndexRoute title="Home" component={require("components/NewTabPage/NewTabPage")} />
<Route title="Timeline" path="timeline" icon="fa-timeline" component={require("components/TimelinePage/TimelinePage")} />
<Route title="Activity Stream" path="timeline" icon="fa-timeline" component={require("components/TimelinePage/TimelinePage")} />
</Route>
</Router>);
}

Просмотреть файл

@ -192,9 +192,8 @@ ActivityStreams.prototype = {
_setupButton() {
this._button = ActionButton({
id: "activity-streams-link",
label: "Timeline",
label: "Activity Stream",
icon: data.url("content/img/list-icon.svg"),
// TODO: Fix url below to about:timeline when that gets implemented.
onClick: () => tabs.open(`${this.options.pageURL}#/timeline`)
});
},