ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Gravatar (Bug #1034)


Added by Alf Gaida at 2012-06-10 01:11 am. Updated at 2012-06-10 08:05 pm.


Status:Closed Start date:2012-06-10
Priority:Normal Due date:
Assignee:Felix Schäfer % Done:

0%

Category:-
Target version:3.2.1
Remote issue URL: Affected version:3.2.0

Associated revisions

Revision 5ef63ec4
Added by Felix Schäfer at 2012-06-10 07:54 pm

Fix option parsing for gravatars #1034

In addition to that:
  • the default size was 50px in the old lib, this has been restored
  • some tests to test the default and option parsing

Revision caceb589
Added by Felix Schäfer at 2012-06-10 08:34 pm

Restore the default class for gravatars #1034

History

Updated by Alf Gaida at 2012-06-10 01:18 am

Gravatars have the Size 80 x 80 on every place they are displayed. Not so nice. Bevore update the generated html-source looks like this:

<div class="profile-wrap">
<img class="gravatar" width="40" height="40" src="http://www.gravatar.com/avatar/16aecbc5187a0c9972ced6fb12115221?rating=PG&size=40&default=" title="" alt="">
</div>

After update to 3.2 the generated source look like this

<div class="profile-wrap">
<img width="80" height="80" src="http://gravatar.com/avatar/3c1ac82f653e17d27e4774dac9b3a9b2.jpg" size="40" default="" alt="">
</div>

It looks, like class and size are lost with the gem-update

Updated by Felix Schäfer at 2012-06-10 07:56 pm

That was my fault, I got the options parsing a little off, sorry.

Pull request at https://github.com/chiliproject/chiliproject/pull/207

  • Target version set to 3.2.1
  • Status changed from Open to Ready for review

Updated by Holger Just at 2012-06-10 08:05 pm

Pulled it in with 5ef63ec. Thanks.

  • Status changed from Ready for review to Closed
  • Affected version set to 3.2.0
  • Assignee set to Felix Schäfer

Also available in: Atom PDF