[Git][noosfero/noosfero][master] 2 commits: Enable bigger profile image on members list

Joenio Costa gitlab at mg.gitlab.com
Thu Dec 10 11:58:10 BRST 2015


Joenio Costa pushed to branch master at Noosfero / noosfero


Commits:
370e1d19 by Melissa Wen at 2015-12-08T13:10:59Z
Enable bigger profile image on members list

- - - - -
c2223bbc by Joenio Costa at 2015-12-10T13:57:52Z
Merge branch 'change_members_image_size' into 'master'

Generate profile images bigger on members page

This merge does not modify default application css, it just generates a profile image bigger to increase possibilities of profile images style manipulation on members list page.

See merge request !726
- - - - -


2 changed files:

- app/views/profile/_profile_members_list.html.erb
- public/designs/themes/noosfero/style.css


Changes:

=====================================
app/views/profile/_profile_members_list.html.erb
=====================================
--- a/app/views/profile/_profile_members_list.html.erb
+++ b/app/views/profile/_profile_members_list.html.erb
@@ -9,7 +9,7 @@
 </div>
 <ul class="profile-list-<%= role %>" >
   <% users.each do |u| %>
-    <%= profile_image_link(u) %>
+    <%= profile_image_link(u, :thumb) %>
   <% end %>
 </ul>
 


=====================================
public/designs/themes/noosfero/style.css
=====================================
--- a/public/designs/themes/noosfero/style.css
+++ b/public/designs/themes/noosfero/style.css
@@ -18,3 +18,33 @@
 #buddy-list #environment-logo {
   background-color: #BBB;
 }
+
+/* Members list*/
+.profile-members-tabs-container .ui-corner-all{
+  padding-bottom: 10px;
+}
+
+#content #members-tab ul.profile-list-members,
+#content #admins-tab ul.profile-list-admins{
+  margin: 10px auto;
+}
+
+.common-profile-list-block .profile-image{
+  height: auto;
+}
+
+.common-profile-list-block .profile-image img{
+  max-height: 80px;
+  max-width: 80px;
+}
+
+.box-1 .common-profile-list-block span{
+  width: 84px;
+}
+
+.box-1 .common-profile-list-block span.fn {
+  margin-top: 5px;
+  height: 25px;
+  width: 80px;
+}
+



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/aaa3f4fe6048c8104f25aaa4ab452f38d112c78d...c2223bbca02b5f3d206c4507fa64f6f13f6f633a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20151210/76403400/attachment.html>


More information about the Noosfero-dev mailing list