summaryrefslogtreecommitdiffstats
path: root/templates/repo/view_list.tmpl
Commit message (Collapse)AuthorAgeFilesLines
* Remove last traces of has-emoji class (#11263)mrsdizzie2020-05-011-3/+3
| | | | | | Now that emojify.js has been removed, get rid of all instances of has-emoji class that was only used for that. Support for rendering shortcodes should remain in all of these places so it should still work the same. Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
* Fix submodule paths when AppSubUrl is not root (#11098)zeripath2020-04-221-1/+1
| | | | | | | | Fix submodule paths when AppSubUrl is not root Fix #11002 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix appearance of unsigned sha box in view_list (#10543)zeripath2020-02-291-4/+4
| | | | | | Unfortunately the fix in #10511 was slightly incorrect and placed the detail box at one level too far out. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix the signing icon in the view_list.tmpl page (#10511)zeripath2020-02-271-5/+5
| | | | | | | | | | | | | | | * Fix the view_list.tmpl page * fix-centerlock * Update web_src/less/_base.less as per @silverwind Co-Authored-By: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Show Signer in commit lists and add basic trust (#10425)zeripath2020-02-271-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Show Signer in commit lists and add basic trust Show the avatar of the signer in the commit list pages as we do not enforce that the signer is an author or committer. This makes it clearer who has signed the commit. Also display commits signed by non-members differently from members and in particular make it clear when a non-member signer is different from the committer to help reduce the risk of spoofing. Signed-off-by: Andrew Thornton <art27@cantab.net> * ensure orange text and background is available Signed-off-by: Andrew Thornton <art27@cantab.net> * Update gpg_key.go * Update models/gpg_key.go * Apply suggestions from code review * Require team collaborators to have access to UnitTypeCode * as per @6543 * fix position of sha as per @silverwind * as per @guillep2k
* Truncate long commit message header (#10301)zeripath2020-02-171-1/+1
| | | | | | | | | | | | | | * Truncate long commit message header * Fix overflow in view commit table * Use @media less * Further improvements * Fix the commit message on small screens * adjust width of minimal table
* Add Octicon SVG spritemap (#10107)John Olheiser2020-02-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add octicon SVG sprite Signed-off-by: jolheiser <john.olheiser@gmail.com> * Static prefix Signed-off-by: jolheiser <john.olheiser@gmail.com> * SVG for all repo icons Signed-off-by: jolheiser <john.olheiser@gmail.com> * make vendor Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swap out octicons Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move octicons to top of less imports Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix JS Signed-off-by: jolheiser <john.olheiser@gmail.com> * Definitely not a search/replace Signed-off-by: jolheiser <john.olheiser@gmail.com> * Missed regex Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move to more generic calls and webpack Signed-off-by: jolheiser <john.olheiser@gmail.com> * make svg -> make webpack Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove svg-sprite Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Missed a test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove svg from makefile Signed-off-by: jolheiser <john.olheiser@gmail.com> * Suggestions Signed-off-by: jolheiser <john.olheiser@gmail.com> * Attempt to fix test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert timetracking test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swap .octicon for .svg in less Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add aria-hidden Signed-off-by: jolheiser <john.olheiser@gmail.com> * Replace mega-octicon Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix webpack globbing on Windows Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert Co-Authored-By: silverwind <me@silverwind.io> * Fix octions from upstream Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix Vue and missed JS function Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add JS helper and PWA Signed-off-by: jolheiser <john.olheiser@gmail.com> * Preload SVG Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <matti@mdranta.net>
* switch to fomantic-ui (#9374)techknowlogick2019-12-171-1/+1
|
* Project files table style update (#8757)May2019-11-021-4/+4
| | | | | | | | | | | | | | * add marking to title_wip_desc Signed-off-by: May <themaymeow@gmail.com> * update table styling Signed-off-by: May <themaymeow@gmail.com> * Update file table column width to 4:9:3 Signed-off-by: May <themaymeow@gmail.com>
* Make link last commit massages in repository home page and commit tables (#8006)jaqra2019-09-101-1/+2
| | | | | | | | | | | | | | | | | | | | | * Make link last commit massages in repository home page and commit tables * Use RenderCommitMessageLink instead surround with a * deleted __debug_bin file * Exclude email to link from latest commit title * Exclude email processor from commit table Co-Authored-By: mrsdizzie <info@mrsdizzie.com> * Add class parameter to a html element creator functions. Make links underline dashed that are not commit * fix tests * Show dashed underline when also not hovered
* Revert RenderCommitMessageLink part of #7659 (#7923)Gary Kim2019-08-201-1/+1
| | | | | | | | | | | | | | RenderCommitMessageLink may have the potential for issues and is overall not very intuitive for the user in its current state. This commit will revert the usage of RenderCommitMessageLink that was added in #7659 to work on addressing some of those issues to and merge this feature again in a more polished state. Signed-off-by: Gary Kim <gary@garykim.dev>
* Provide links in commit summaries in commits table/view list (#7659)Gary Kim2019-08-201-3/+3
| | | | | | | | | | | | | | | | | | * Provide links in commit summaries in commits table/view list Signed-off-by: Gary Kim <gary@garykim.dev> * Check that hashes are commits before making them links Signed-off-by: Gary Kim <gary@garykim.dev> * Revert "Check that hashes are commits before making them links" This reverts commit a88564b8bc9872d4bf11062a4ebcb2f42b702200. * Add Commit Message Links to Files List Signed-off-by: Gary Kim <gary@garykim.dev>
* Evaluate emojis in commit messages in list view (#7906)Mario Lubenka2019-08-181-2/+2
| | | Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* UI: Fix overflow issues in repo (#7190)silverwind2019-06-141-4/+5
| | | | | | | | | | | - Fix layout overflow in repo file list. - Fix invisible status icon in file view and commit list. In file view, the icon was moved to the left because I could not figure out a proper fix because of HTML tables. - Added title attribute to commit messages. - Fixed two CSS linter warnings in existing CSS. - Fixed CI variable check in 'make css'. Fixes: https://github.com/go-gitea/gitea/issues/7180
* Refactor table width to have more info shown in file list (#6867)Lauris BH2019-05-061-29/+33
| | | | | | | | * Refactor table width to have more info shown in file list * Remove unnecesary semicolon * Fix tests for changed html structure
* Don't post process commit summary in templates (#6842)mrsdizzie2019-05-051-2/+2
| | | | | | | | | | | | | | | | | * Don't post process commit summary in templates Don't run summary through render/post process to avoid it generating links and breaking certain views where the summary is already expected to be a link to the commit. For consistancy, disable processing of summary in all locations. Fixes #6809 * Do process title on diff page On second thought, the title is often the only place a pull request number will exists so do process it on the individual diff page. This fixes the list view and still gives easy access to the PR link
* Add title attributes to all items in the repo list viewer (#6258)John Olheiser2019-03-181-2/+2
|
* Symlink icons (#1416) (#3826)Tris Forster2018-05-011-1/+1
| | | | | | | | | | | | * Updated vendor code for code.gitea.io/git * Display symlinks correctly for files and directories * Added symlink tests * Applied silverwinds stylesheet patch Signed-off-by: Tris Forster <tris.git@shoddynet.org>
* Expandable commit bodies (#2980)Sondre Nilsen2017-11-301-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial working state of expandable commit bodies * Fix all commits having showing button for multiline commits * Refactor checking multiline messages method * Force newlines with <br> in commit body * Show multiple lines in the list view of repositories * Fixed proper newlines and minor refactor Use <pre> instead of <p>, this is so we can use \n instead of having to manually place <br> into the HTML. Makes it easier to display commit bodies. * Fix commit list messages jumping around * Fix indentation in view_list.tmpl * Use vertical-align: baseline instead of top * Refactor commit button toggle function * Remove RenderCommitBodyLink function * Add comments * Add newline at the end of _repository.less * Fix long commit bodies not properly wrapping inside <pre> * Don't split on double newlines * Show the commit body in commit view * Update stylesheets * Add/fix comments and run make fmt * Fix spaces not being tabs
* Fix issue link rendering in commit messages (#2897)Ethan Koenig2017-11-131-4/+2
| | | | | | | | | | * Fix issue link rendering in commit messages * Update page.tmpl * No links for parens * remove comment
* Add checks for commits with missing author and time (#2771)Lauris BH2017-10-261-8/+10
| | | | | | * Add checks for commits with missing author and time * Fix validate commits with emails if it has no Author
* Display commit status on landing page of repo (#1784)Rémy Boulanouar2017-09-141-1/+2
| | | | | | | | * Display commit status on landing page of repo * improve last status of commits and add link to ci * fix last commit status since the order of ids are desc
* Remove sha1 hash display in repository table and add latest commit GPG check ↵Lauris BH2017-05-051-3/+15
| | | | (#1678)
* Implementation of Folder JumpingSl@ny2016-12-281-2/+15
|
* Use user fullname if resolvedThibault Meyer2016-11-041-1/+5
|
* templates/repo/view: fix bad linkUnknwon2016-08-301-1/+1
|
* router/repo: code refactoringUnknwon2016-08-301-8/+8
|
* Web editor: improve edit file tooltipUnknwon2016-08-271-1/+1
|
* #3348 always use relative avatar link in the templateUnknwon2016-08-051-1/+1
|
* Upgrade octicon to 4.3.0Unknwon2016-07-161-3/+3
|
* Update glide.yamlUnknwon2016-06-271-3/+4
|
* Render emojis in more places.Andrey Nering2016-03-021-2/+2
|
* commit.RefUrl expects AppUrl argumentAdam Strzelecki2016-01-131-1/+1
| | | | | | This is fixup for ea375c0dcca118c8ac3c48ba569b025836ad5ccf. The bug was not visible because commit.RefUrl was always returning empty url due regression described in https://github.com/gogits/git-module/pull/4
* new template funcUnknwon2015-12-131-1/+1
|
* Indent all templates with tabsAdam Strzelecki2015-12-081-52/+52
| | | | | | | | | | | | 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
* Render commit msg as header + verbatim descriptionAdam Strzelecki2015-12-071-2/+2
| | | | | | | | | Most commit in Git are expected to follow standard of single header line, followed by description paragraphs, separated by empty line from previous block. Previously Gogs were treating everything as single header. Now we are trying to render only first line as header, but following lines (description chunks) as a verbatim.
* template fixUnknwon2015-12-041-2/+2
|
* UI: Use more subtle grey SHA1 labelsAdam Strzelecki2015-12-031-1/+1
| | | | | | | | | | | Current green SHA1 labels are more pronounced than other UI elements attracting attention as if they were most important thing in the UI, while they are not as important, especially without real Git client. Using grey SHA1 labels makes the UI more balanced, less aggressive and lets user to focus on other content elements. NOTE: Neither GitHub or Bitbucket uses so heavy pronunciation as Gogs.
* UI: Display last-commit header without 2nd columnAdam Strzelecki2015-12-031-2/+2
| | | | | | | | This uses a CSS trick making first th to be relative block with width equal to first two columns, effectively working around inability to use colspan="2" on first row that was breaking "fixed-layout" for tables. Also use grey header for last-commit SHA1 tag.
* Commits & files UI: SUI fixed single line tableAdam Strzelecki2015-12-021-29/+21
| | | | | | | | Instead using own ellipsis, uses Semantic UI fixed single line table which effectively applies ellipsis to all overflowing table cells. NOTE: File list cannot use colspan="2" for 1st "Last commit" elements, otherwise layout breaks with fixed table.
* new repo uiUnknwon2015-11-141-63/+58
| | | | | | - copy link button: #1396, #1168, #1668, - synxtax highlight: #1712, #1549, #1315, #670 - z-index: #1942
* fix #1886Unknwon2015-11-041-3/+3
|
* Allow file and directory names to contain percent characterVladimir Vissoultchev2015-07-281-2/+2
|
* Handle submodules without a .gitmodules entry - fix #1023Filippo Valsorda2015-03-101-0/+4
|
* templates: fix commit message render issue #828Unknwon2015-01-311-1/+1
|
* modules/base: add RenderCommitMessage with XSS-safe and special linksUnknwon2015-01-301-1/+1
| | | | - update russian locale
* fix #711Unknwon2014-12-091-1/+1
|
* Added issue link rendering in commit messagesdennis-smurf2014-12-051-3/+7
|
* custom avatar uploadUnknwon2014-11-211-1/+7
|
* continue work on #255Unknwon2014-11-071-2/+2
|