Ask Your Question
1

Can we force the karma to show on the line after the name?

asked 2011-07-13 09:18:35 -0500

NoahY's avatar

updated 2011-07-13 09:29:03 -0500

It looks like if your karma is over 1000, and you've got lots of badges, the karma appears beside the username in your answers. Just adding a
before the karma tag fixes this. I'm adding it to my server, and my git fork.

Edit: Ah, sorry, I see... it's the website that's the problem... it looks like an improper if statement in askbot/skins/default/templates/macros.html:

{% if not user.website %}<br/>{% endif %}

this seems useless, since the website comes below anyway... just leaving the <br/> works fine.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-07-21 07:20:50 -0500

NoahY's avatar

So, the answer is to change the file askbot/skins/default/templates/macros.html:

{% if not user.website %}<br/>{% endif %}

to simply:

<br/>

edit flag offensive delete link more

Comments

Still can't accept my own answer :P
NoahY's avatar NoahY  ( 2011-07-21 07:21:15 -0500 )edit
Yay... accepting own answer works now.
NoahY's avatar NoahY  ( 2011-07-22 10:58:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-07-13 09:18:35 -0500

Seen: 225 times

Last updated: Jul 21 '11