1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 16:10:26 +00:00

Support wiki page create/rename operations (#2295)

This commit is contained in:
shanshuirenjia
2018-08-22 16:39:42 +08:00
committed by Daniel Pan
parent e4a255206f
commit 00388d3cda
21 changed files with 1149 additions and 484 deletions

View File

@@ -1,5 +1,5 @@
import React, { Component } from 'react';
import { repoID } from './constance';
import { gettext, repoID } from './constance';
import SearchResultItem from './SearchResultItem';
class Search extends Component {
@@ -195,7 +195,7 @@ class Search extends Component {
type="text"
className="search-input"
name="query"
placeholder="Search files in this wiki"
placeholder={gettext("Search files in this wiki")}
style={style}
value={this.state.value}
onFocus={this.onFocusHandler}