-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing History link to directory listings #4754
Conversation
The feature to list commits from a subdirectory is already there but so far the history link to it was missing. There is a History button in the view_file.tmpl already so avoid showing two history buttons in that case. The GitHub webinterface has the same History button in the same place so this makes gitea a little bit more compatible. Signed-off-by: Bernhard Froehlich <decke@bluelife.at>
Codecov Report
@@ Coverage Diff @@
## master #4754 +/- ##
=======================================
Coverage 20.69% 20.69%
=======================================
Files 167 167
Lines 32389 32389
=======================================
Hits 6702 6702
Misses 24706 24706
Partials 981 981 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the button should be added to the "New File" and "Upload File" button group instead.
I will try to move the history button to the file actions and update the pull request. |
@decke any update? |
I'm currently on a business trip and will provide an update when I am back. Sorry for the delay. |
The feature to list commits from a subdirectory is already there but so far the history link to it was missing. There is a History button in the view_file.tmpl already so avoid showing two history buttons in that case. The GitHub webinterface has the same History button in the same place so this makes gitea a little bit more compatible. Signed-off-by: Bernhard Froehlich <decke@bluelife.at>
…itea into add-missing-history-link
That squashing didn't seem to work out properly. I will close this PR and create a new one. |
The feature to list commits from a subdirectory is already there but
so far the history link to it was missing. There is a History button
in the view_file.tmpl already so avoid showing two history buttons in
that case.
The GitHub webinterface has the same History button in the same place
so this makes gitea a little bit more compatible.
Signed-off-by: Bernhard Froehlich decke@bluelife.at