xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
Commit c2338a8b03a77618e7de86ebcc2ce80b4d4b5268

Do not show "My repositories" and "Suggestion" menus if admin
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-11-17 17:29
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-11-17 17:29
Parent(s): 5fc0290369207bcb063f5fad355a90e31b93c975
Signing key:
Tree: d7dd3855b69ae97745dd35a1ef9270c4ea03ea6f
File Lines added Lines deleted
root/themes/default/index.html 2 2
File root/themes/default/index.html changed (mode: 100644) (index 6eb326f..d81c46d)
27 27 <a href="/op/tos">ToS</a> <a href="/op/tos">ToS</a>
28 28 <a href="/op/donate">Donate</a> <a href="/op/donate">Donate</a>
29 29 @@if(@@login_ui::uid@@ != 0){{ @@if(@@login_ui::uid@@ != 0){{
30 <a href="/op/suggestion">Suggestion</a>
31 <a href="/op/repo">My repositories</a>
30 @@if(@@login_ui::is_admin@@ == 0){{<a href="/op/suggestion">Suggestion</a>}}
31 @@if(@@login_ui::is_admin@@ == 0){{<a href="/op/repo">My repositories</a>}}
32 32 <a href="/op/settings">Settings</a> <a href="/op/settings">Settings</a>
33 33 @@if(@@login_ui::is_admin@@ == 1){{<a href="/op/admin">Admin</a>}} @@if(@@login_ui::is_admin@@ == 1){{<a href="/op/admin">Admin</a>}}
34 34 <a href="/op/logout?token=@@logout_token@@">Logout</a> <a href="/op/logout?token=@@logout_token@@">Logout</a>
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master