Set ShowGithubCorner to false.

This commit is contained in:
Yang Luo 2021-08-07 19:52:01 +08:00
parent d79544f34a
commit a271ef0719
3 changed files with 18 additions and 3 deletions

View File

@ -34,7 +34,7 @@ import TokenEditPage from "./TokenEditPage";
import RecordListPage from "./RecordListPage"; import RecordListPage from "./RecordListPage";
import AccountPage from "./account/AccountPage"; import AccountPage from "./account/AccountPage";
import HomePage from "./basic/HomePage"; import HomePage from "./basic/HomePage";
// import CustomGithubCorner from "./CustomGithubCorner"; import CustomGithubCorner from "./CustomGithubCorner";
import * as Auth from "./auth/Auth"; import * as Auth from "./auth/Auth";
import SignupPage from "./auth/SignupPage"; import SignupPage from "./auth/SignupPage";
@ -521,7 +521,7 @@ class App extends Component {
return ( return (
<div id="parent-area"> <div id="parent-area">
<BackTop /> <BackTop />
{/*<CustomGithubCorner />*/} <CustomGithubCorner />
<div id="content-wrap" style={{flexDirection: "column"}}> <div id="content-wrap" style={{flexDirection: "column"}}>
{ {
this.renderContent() this.renderContent()

View File

@ -120,6 +120,21 @@ class UserListPage extends React.Component {
) )
} }
}, },
{
title: i18next.t("general:Application"),
dataIndex: 'signupApplication',
key: 'signupApplication',
width: (Setting.isMobile()) ? "100px" : "120px",
fixed: 'left',
sorter: (a, b) => a.owner.localeCompare(b.owner),
render: (text, record, index) => {
return (
<Link to={`/applications/${text}`}>
{text}
</Link>
)
}
},
{ {
title: i18next.t("general:Name"), title: i18next.t("general:Name"),
dataIndex: 'name', dataIndex: 'name',

View File

@ -12,6 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
export const ShowGithubCorner = true export const ShowGithubCorner = false
export const GithubRepo = "https://github.com/casbin/casdoor" export const GithubRepo = "https://github.com/casbin/casdoor"