Merge branch 'master' of github.com:diaspora/diaspora
This commit is contained in:
commit
120c07ddf5
5 changed files with 3 additions and 24 deletions
|
|
@ -1,12 +1,12 @@
|
|||
%li{:data=>{:guid=>aspect.id}, :class => ("dull" if contacts.length == 0)}
|
||||
.right
|
||||
%b
|
||||
= link_to t('contacts', :count => aspect.contacts.count), edit_aspect_path(aspect), :rel => 'facebox'
|
||||
= link_to t('contacts', :count => contacts.count), edit_aspect_path(aspect), :rel => 'facebox'
|
||||
%b
|
||||
= aspect.name
|
||||
%br
|
||||
|
||||
- if aspect.contacts.length > 0
|
||||
.contacts
|
||||
- for contact in aspect.contacts
|
||||
- for contact in contacts[0..16]
|
||||
= person_image_link(contact.person)
|
||||
|
|
|
|||
|
|
@ -15,4 +15,4 @@
|
|||
|
||||
%ul
|
||||
- for aspect in aspects
|
||||
= render 'aspects/aspect', :aspect => aspect, :contacts => aspect.contacts
|
||||
= render 'aspects/aspect', :aspect => aspect, :contacts => aspect.contacts.where(:pending => false)
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
[10gen]
|
||||
name=10gen Repository
|
||||
baseurl=http://downloads.mongodb.org/distros/centos/5.4/os/x86_64/
|
||||
gpgcheck=0
|
||||
|
||||
|
|
@ -15,7 +15,6 @@ end
|
|||
harden_ruby("ree-1.8.7-2010.02")
|
||||
|
||||
include_recipe "centos::image_magick"
|
||||
include_recipe "centos::mongo_db"
|
||||
include_recipe "common::main"
|
||||
include_recipe "centos::nginx"
|
||||
include_recipe "centos::redis"
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
cookbook_file "/etc/yum.repos.d/10gen.repo" do
|
||||
source "10gen.repo"
|
||||
end
|
||||
|
||||
execute "refresh yum" do
|
||||
command "yum update -y"
|
||||
end
|
||||
|
||||
execute "install mongo" do
|
||||
command "yum install -y mongo-stable-server"
|
||||
end
|
||||
|
||||
execute "make the data directory" do
|
||||
command "mkdir -p /data/db"
|
||||
end
|
||||
Loading…
Reference in a new issue