aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/header.tmpl
Commit message (Collapse)AuthorAge
* repo: support unlisted but publicly accessible repositories (#6176)Achilleas Koutsou2020-09-04
| | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* templates: make state changing routes to POST method (#5541)Unknwon2018-12-06
| | | | - pkg/context: add ParamsUser to unify the injection process
* templates: add 'rel=noopener noreferrer' to <a> tags (#5319)cezar972018-07-02
| | | Signed-off-by: cezar97 <cezar97@protonmail.com>
* repo: add changes to repository avatar feature (#5221)Unknwon2018-06-17
|
* repo: support avatars (#5221)Sergey Dryabzhinsky2018-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First code for repository avatars * Last code for repository avatars - add new option for repo avatars location on filesystem - add route catch in web - add new fields to repo model - add migration - update settings handlers - update repo header template * Update locale messages * Add repo avatars to home page * Add repo avatars to organization right panel * Show repo avatars in repo list * Remove AvatarEamil field, remove Gravatar support, use generic locale messages * Fix migration * Fix seed and not used tool * Revert public css changes, add them to less files * Latest lessc (2.6.0) don't put result into file but output to stdout So redirect output to file * Simplify things: - migration don't needed, and table changes too - just upload file to repo avatar storage - or generate random image * Fix repo image seed - name not unique * Get rid of not needed model fields * Class value is enough, remove height attribute * Don't generate random avatar for repository - use html and semantic ui icons if no avatar found * Update styles and templates for repo - use repo icon as default avatar - use globe icon for public repos - add micro style for repo avatars at dashboard * Remvoe redundant empty line * Fix nl2br filter - must return string * Fix css style for micro-repo-avatar in dashboard list * Remove `|len`, works fine w/o it. * Update after review 2: - use static route for repository avatar - format images settings block in settings * Update after review 2: - no random avatar for repo * Update after review 2: - no random avatar for repo 2 - update imports - update UploadAvatar* functions * Update after review 2: - update templates * Fix trace call * Remove unused immport since we use static route for repo avatars.
* templates/repo: use correct Semantic UI icon styles to fix star and watch ↵Sergey Dryabzhinsky2018-05-10
| | | | | | | | | | | | | | icons (#5218) * Update font-awesome to 4.7.0 * Fix font-awesome styles overrided by semantic * Revert back * Revert back 2 * Just use right `semantic` icon styles
* Refactoring: rename Signed -> LoggedUnknwon2017-04-06
|
* pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}Unknwon2017-04-06
|
* repo: allow private repository to have public wiki or issuesUnknwon2017-03-24
| | | | Relates to #649 and #2157
* repo: rename PageIsViewCode -> PageIsViewFilesUnknwon2017-03-22
| | | | Also highlight 'Files' tab when use editor.
* repo: allow issues and wiki for bare repository (#4104)Unknwon2017-03-16
|
* templates/repo: change some buttons to use 'basic' styleUnknwon2017-03-10
|
* templates/repo: only show Git stats in repository home page (#3518)Unknwon2017-03-10
| | | | | | | | | Move 'Commits' and 'Releases' tabs down to body. This patch also reduces page load time for pages that do not need to use commits count anywhere. Get commits count can hurt performance badly for huge repositories that has tens of thousands commits like Linux Kernel.
* repo: able to fork own repository (#1791)Unknwon2017-02-18
|
* Allow use to set an external tracker url and to redirect user when clicking ↵Rémy Boulanouar2017-01-31
| | | | in Issues same behavior as Wiki. (#3646)
* templates/repo: rename 'Code' to 'Files'Unknwon2017-01-25
|
* #2162 completely disable builtin issue tracker when enable external trackerUnknwon2016-08-04
|
* Upgrade octicon to 4.3.0Unknwon2016-07-16
|
* models/repo: remove redundant info for some repo methodsUnknwon2016-07-15
| | | | RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
* Fixes #3263 - Change for Fontawesome icons to not conflict withs semantic-ui ↵Richard Mahn2016-07-15
| | | | (#3267)
* Use relative url when showing forked fromJosh Frye2016-03-04
|
* #2505 Allow to fork and disallow to create PRs for mirrors.Download-Fritz2016-02-19
|
* Fix when repo is emptychriswatt2016-02-14
|
* Add grey bg to tabs on repo pagechriswatt2016-02-14
|
* Make commits tab active when on diff pagechriswatt2016-02-07
|
* improve get commits performanceUnknwon2015-12-13
|
* #1984 Better mirror repo managementUnknwon2015-12-08
|
* Indent all templates with tabsAdam Strzelecki2015-12-08
| | | | | | | | | | | | This commit improves templates readability, since all of them use consistent indent with all template command blocks indented too. 1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks such as {{if}} {{with}} 2. Cleans all trailing white-space 3. Adds trailing last line-break to each file
* fix #1829 and fix #890Unknwon2015-12-04
|
* more UI minor fixesUnknwon2015-12-02
|
* UI: Always show menu on repo pagesAdam Strzelecki2015-12-03
| | | | | Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use middleware.RepoRef() necessary to display information on this menu.
* UI: Make repository menu divide header and contentAdam Strzelecki2015-12-02
| | | | | This is more inline with way GitHub looks like and feels much more natural and in style with rest of the interface.
* remove test codeUnknwon2015-11-16
|
* UI fixUnknwon2015-11-16
|
* UI fixUnknwon2015-11-16
|
* added links to forks/watchers/stars in new layout headerSteven Oud2015-10-03
|
* Mirror repository should not allow forkUnknwon2015-09-05
|
* css fixUnknwon2015-09-02
|
* #1206 does not allow fork bare repoUnknwon2015-09-01
|
* new webhooks list UIUnknwon2015-08-26
|
* finish view comments on issue pageUnknwon2015-08-13
|
* fix on #1466Unknwon2015-08-12
|
* modified repo headerGogs2015-08-12
|
* add migrate from issue.label_ids to issue_labelUnknwon2015-08-10
|
* Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2Unknwon2015-08-10
|\ | | | | | | | | | | | | # Conflicts: # modules/bindata/bindata.go # public/css/gogs.min.css # templates/repo/header.tmpl
| * list view: issue, label, milestoneUnknwon2015-08-09
| |
* | WIP: create PR - choose branchUnknwon2015-08-08
|/
* improve fork processUnknwon2015-08-08
|
* UI: issues - finish basic frameUnknwon2015-07-24
|
* Updating context and fixing permission issuesPeter Smit2015-02-16
| | | | | | The boolean flags in the repo context have been replaced with mode and two methods Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.