Skip to content

Conversation

lunny
Copy link
Member

@lunny lunny commented Feb 11, 2017

fix #894

@lunny lunny added the type/bug label Feb 11, 2017
@lunny lunny added this to the 1.1.0 milestone Feb 11, 2017
@strk
Copy link
Member

strk commented Feb 11, 2017

LGTM

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Feb 11, 2017
</div>
{{else if eq .Type 7}}
{{if .Label}}
<div class="event">
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't the code block inside the new if be further indented?

Copy link
Member Author

Choose a reason for hiding this comment

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

No. It's different logic. I would like let it two if

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I understand why you're using two ifs, I'm saying that it should be like this

{{else if eq .Type 7}}
	{{if .Label}}
		<div class="event">
			...

instead of like this

{{else if eq .Type 7}}
	{{if .Label}}
	<div class="event">
		...

Copy link
Member Author

Choose a reason for hiding this comment

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

done.

@jeppech
Copy link

jeppech commented Feb 11, 2017

Will you fix this for milestones as well #804? Or should that be a different PR/issue?

@lunny
Copy link
Member Author

lunny commented Feb 11, 2017

@jeppech I will send another PRs to fix them.

@appleboy
Copy link
Member

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 11, 2017
@lunny lunny merged commit 8a0be5e into go-gitea:master Feb 11, 2017
@lunny lunny deleted the lunny/ignore_label_after_delete branch April 19, 2017 05:43
@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. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error viewing issue, http 500
6 participants