Skip to content
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

refactors header notifications (renders them via separate controller) #1635

Merged

Conversation

velesin
Copy link
Contributor

@velesin velesin commented Nov 8, 2013

Step 2 of the refactoring described here: #1615

It is mostly code reorganization (plus adding unit tests for everything), behavior is preservad 1:1 with the one small exception: previously when there was no topic title a completely empty link was displayed: <a href=""></a>. As such link is "invisible" for the user I thought it will make more sense to not display the link at all, so I generate nothing (empty string) instead in such case.

@discoursebot
Copy link

You've signed the CLA, velesin. Thank you! This pull request is ready for review.

ZogStriP added a commit that referenced this pull request Nov 9, 2013
refactors header notifications (renders them via separate controller)
@ZogStriP ZogStriP merged commit ed5eb46 into discourse:master Nov 9, 2013
@ZogStriP
Copy link
Member

ZogStriP commented Nov 9, 2013

Thanks! 👍

@velesin velesin deleted the header_notifications_refactoring branch November 10, 2013 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants