muck-activities 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +6 -1
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/locales/gl.yml +1 -1
- data/locales/hu.yml +2 -2
- data/locales/mt.yml +1 -1
- data/locales/zh.yml +1 -1
- data/muck-activities.gemspec +3 -2
- data/public/stylesheets/muck-activities.css +39 -0
- metadata +3 -2
data/README.rdoc
CHANGED
@@ -36,6 +36,11 @@ Create an activity model that 'acts_as_muck_activity':
|
|
36
36
|
acts_as_muck_activity
|
37
37
|
end
|
38
38
|
|
39
|
+
=== CSS
|
40
|
+
Running rake muck:activities:sync will copy a default css file called muck-activities.css into your stylesheets directory.
|
41
|
+
You can include that file in your layout or copy it and modify it to meet your needs.
|
42
|
+
(Don't change the file as each time you run rake muck:activities:sync it will overwrite any changes you might have made.)
|
43
|
+
|
39
44
|
=== Authorization
|
40
45
|
By default 'has_activities' will add a simple 'can_view?' method:
|
41
46
|
|
@@ -95,4 +100,4 @@ need to do:
|
|
95
100
|
add_activity(user.feed_to, user, comment, 'comment')
|
96
101
|
|
97
102
|
|
98
|
-
Copyright (c) 2009
|
103
|
+
Copyright (c) 2009 Tatemae.com, released under the MIT license
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.22
|
data/locales/gl.yml
CHANGED
data/locales/hu.yml
CHANGED
@@ -10,12 +10,12 @@ hu:
|
|
10
10
|
clear: Világos
|
11
11
|
create_error: "Probléma merült fel a hozzá adott tevékenységet: {{error}}"
|
12
12
|
delete: Töröl
|
13
|
-
invite_friends: "Friends
|
13
|
+
invite_friends: "Invite Friends"
|
14
14
|
item_could_not_be_removed: "Elem nem távolítható el a közelmúltban tevékenységek listáját."
|
15
15
|
item_created: "Added tevékenység"
|
16
16
|
item_removed: "Cikk sikeresen eltávolították a jelenlegi tevékenységét listán."
|
17
17
|
joined_status: "{{name}} Csatlakozott {{application_name}}"
|
18
|
-
make_comment:
|
18
|
+
make_comment: Megjegyzést
|
19
19
|
paging_newer: «Újabb
|
20
20
|
paging_older: "Older »"
|
21
21
|
permission_denied: "Sajnáljuk, de nem tehetem meg."
|
data/locales/mt.yml
CHANGED
@@ -8,7 +8,7 @@ mt:
|
|
8
8
|
adding_comment_message: "Żieda comment ..."
|
9
9
|
all_activities: "Attivitajiet Kollha"
|
10
10
|
clear: Ċar
|
11
|
-
create_error: "
|
11
|
+
create_error: "Kien hemm problema żżid l-attività mitluba: {{error}}"
|
12
12
|
delete: Ħassar
|
13
13
|
invite_friends: "Invite Friends"
|
14
14
|
item_could_not_be_removed: "Oġġett ma jista 'jitneħħa mill-lista ta' attivitajiet reċenti."
|
data/locales/zh.yml
CHANGED
data/muck-activities.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{muck-activities}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.22"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Justin Ball"]
|
12
|
-
s.date = %q{2009-10-
|
12
|
+
s.date = %q{2009-10-27}
|
13
13
|
s.description = %q{Activity engine for the muck system.}
|
14
14
|
s.email = %q{justinball@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -95,6 +95,7 @@ Gem::Specification.new do |s|
|
|
95
95
|
"muck-activities.gemspec",
|
96
96
|
"public/images/loading.gif",
|
97
97
|
"public/javascripts/muck_activities.js",
|
98
|
+
"public/stylesheets/muck-activities.css",
|
98
99
|
"rails/init.rb",
|
99
100
|
"tasks/muck_activity_tasks.rake",
|
100
101
|
"test/rails_root/.gitignore",
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/* activity feed */
|
2
|
+
#activity-status-control{border:solid 1px #ccc;padding:10px 7px;background-color:#eee;}
|
3
|
+
#status-update-field{}
|
4
|
+
ul#status-menu{list-style:none;}
|
5
|
+
ul#status-menu li{float:left;display:inline;margin:0 5px;}
|
6
|
+
#status-update-button input{padding:0;}
|
7
|
+
.status-update-dim{}
|
8
|
+
.status-update-lit{}
|
9
|
+
ul#activity-filter{list-style:none;}
|
10
|
+
ul#activity-filter li{border-bottom:solid 1px #ccc;}
|
11
|
+
ul#activity-filter li a{text-decoration:none;}
|
12
|
+
ul#activity-filter li a:hover;{text-decoration:underline;}
|
13
|
+
ul#activity-filter li.current a{color:#5EAC18;}
|
14
|
+
.activity{clear:both;display:block;}
|
15
|
+
#activity-feed{margin:15px 0 0 0;}
|
16
|
+
#activity-feed-content .activity{margin:8px 0 4px 0;}
|
17
|
+
#activity-feed-content .activity-time{font-size:1em;font-color:#eee;clear:left;}
|
18
|
+
#activity-icon, .actor-icon{width:50px;float:left;margin:0 10px 10px 0;}
|
19
|
+
#activity-feed-content .actor, #current-status-name{font-weight:bolder;font-size:1.3em;}
|
20
|
+
.activity-time, .status-time{color:#777777;font-size:.9em;}
|
21
|
+
p#current-status-text, .activity-content p{margin:0;}
|
22
|
+
form.activity-delete {position:relative;display:inline;float:right;display:none;}
|
23
|
+
form.activity-delete input{padding:0;margin:0;width:15px;height:15px;position:absolute;right:0px;bottom:0px;}
|
24
|
+
.activity .activity-hover form.activity-delete{display:block;}
|
25
|
+
.welcome_activity{font-size:14px;}
|
26
|
+
a.upload-button{background:transparent url('/images/icons/button_background.png') no-repeat scroll left top;text-decoration:none;padding:0px 23px 1px 6px;color:#fff;font-weight:bold;}
|
27
|
+
a.upload-button:hover{background:transparent url('/images/icons/button_background.png') no-repeat scroll left bottom;}
|
28
|
+
/* comments under activity feed */
|
29
|
+
.activity-comment{border:1px solid #ccc;margin:2px 50px 2px 60px;padding:.5em;background-color:#eee;}
|
30
|
+
.activity-comment .actor-icon{width:40px;}
|
31
|
+
.activity-comment .actor-icon img{width:40px;height:40px;}
|
32
|
+
.activity-comment textarea.max{width:80%;height:30px;}
|
33
|
+
.activity-comment textarea.min{height:15px;width:50%;}
|
34
|
+
.activity-comment p{margin:0;}
|
35
|
+
.activity-comment .actor a{font-size:.8em;}
|
36
|
+
.activity form.comment-delete {position:relative;display:inline;float:right;}
|
37
|
+
.activity form.comment-delete input{padding:0;margin:0;width:15px;height:15px;position:absolute;right:0px;top:0px;}
|
38
|
+
.activity form.comment-delete{display:none;}
|
39
|
+
.activity .comment-hover form.comment-delete{display:block;}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muck-activities
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Ball
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-27 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -130,6 +130,7 @@ files:
|
|
130
130
|
- muck-activities.gemspec
|
131
131
|
- public/images/loading.gif
|
132
132
|
- public/javascripts/muck_activities.js
|
133
|
+
- public/stylesheets/muck-activities.css
|
133
134
|
- rails/init.rb
|
134
135
|
- tasks/muck_activity_tasks.rake
|
135
136
|
- test/rails_root/.gitignore
|