Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
diaspora
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gigadoc 2
diaspora
Commits
c9e54700
Commit
c9e54700
authored
Jun 24, 2012
by
Jonne Haß
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
string concatenation is still bad
parent
7298cf92
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
app/views/admins/weekly_user_stats.haml
app/views/admins/weekly_user_stats.haml
+2
-3
config/locales/diaspora/en.yml
config/locales/diaspora/en.yml
+5
-2
No files found.
app/views/admins/weekly_user_stats.haml
View file @
c9e54700
...
...
@@ -6,14 +6,13 @@
.span-24.last
%h2
=
"
#{
t
(
'.current_server'
)
}
:
#{
Time
.
now
.
to_date
}
"
=
t
(
'.current_server'
,
:date
=>
Time
.
now
.
to_date
)
=
form_tag
(
'/admins/weekly_user_stats'
,
:method
=>
'get'
)
do
=
select_tag
(
:week
,
options_for_select
(
@created_users_by_week
.
keys
))
=
submit_tag
t
(
'admins.stats.go'
)
=
t
(
'.amount_of'
)
=
@counter
=
t
(
'.amount_of'
,
:count
=>
@counter
)
%br
-
@created_users_by_week
[(
params
[
:week
])].
each
do
|
m
|
=
link_to
m
,
"/u/
#{
m
}
"
...
...
config/locales/diaspora/en.yml
View file @
c9e54700
...
...
@@ -104,8 +104,11 @@ en:
many
:
"
%{count}
users
found"
other
:
"
%{count}
users
found"
weekly_user_stats
:
current_server
:
"
Current
server
date
is"
amount_of
:
"
amount
of
new
users
this
week:"
current_server
:
"
Current
server
date
is
%{date}"
amount_of
:
zero
:
"
amount
of
new
users
this
week:
none"
one
:
"
amount
of
new
users
this
week:
%{count}"
other
:
"
amount
of
new
users
this
week:
%{count}"
stats
:
week
:
"
Week"
2weeks
:
"
2
Week"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment