Skip to content

Use whole button (commit graph) as link #1390

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

Merged
merged 1 commit into from
Mar 30, 2017

Conversation

Morlinest
Copy link
Member

@Morlinest Morlinest commented Mar 27, 2017

Update html template to use whole button as link, not only text inside button.

Before:
explorer_2017-03-27_14-08-23

After:
explorer_2017-03-27_14-09-46

@Morlinest Morlinest changed the title Use whole button as link Use whole button (commit graph) as link Mar 27, 2017
@strk
Copy link
Member

strk commented Mar 27, 2017

\cc @geek1011 @Fastidious

@Fastidious
Copy link

Fastidious commented Mar 27, 2017

It would help if this was accompanied by a screenshot. You know, "an image is worth..."

@tboerger tboerger added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 27, 2017
@Morlinest
Copy link
Member Author

@Fastidious Sure, updated with screenshots. Hope its clear now. Thx.

@lunny lunny added this to the 1.2.0 milestone Mar 27, 2017
@lunny lunny added type/enhancement An improvement of existing functionality topic/ui Change the appearance of the Gitea UI labels Mar 27, 2017
@Fastidious
Copy link

@Morlinest thanks.

@@ -5,14 +5,12 @@
<div class="ui secondary menu">
{{template "repo/branch_dropdown" .}}
<div class="fitted item">
<div class="ui basic small button">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this div should not be removed, just the class.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need div without any attributes just to wrap one element? Inspired by menu/list (no problem to change, tested with div and works same).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, you removed the head <div> but not the tail </div>.

I think it's okay to remove, though.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I removed both div tags and moved class attribute from div to a. Am I missing something? I did not do formatting so the change stays clear.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, sorry. I think I looked too fast.

@andreynering
Copy link
Contributor

LGTM

@tboerger tboerger removed the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 28, 2017
@pgaskin
Copy link
Contributor

pgaskin commented Mar 29, 2017

LGTM

@tboerger tboerger added the lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. label Mar 29, 2017
@andreynering
Copy link
Contributor

Thank you very much

@andreynering andreynering merged commit fac7a6f into go-gitea:master Mar 30, 2017
@Morlinest Morlinest deleted the commit-graph-UI branch April 1, 2017 01:25
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants