Skip to content

Commit

Permalink
Changes madea s per bug 1399
Browse files Browse the repository at this point in the history
Signed-off-by: Arpit Goyal <[email protected]>
  • Loading branch information
agmps17 committed Jun 6, 2014
1 parent 47d4256 commit c261815
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
backupapps (0.0.1)
dbbackups (0.0.1)
jquery-rails
rails (~> 3.2.12)

Expand Down Expand Up @@ -93,6 +93,6 @@ PLATFORMS
ruby

DEPENDENCIES
backupapps!
dbbackups!
jquery-rails
sqlite3
Binary file removed app/assets/images/download.png
Binary file not shown.
8 changes: 4 additions & 4 deletions app/views/dbbackups/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
table.settings
thead
tr
th.settings-col1.dbbackup-col1= "Database"
th.settings-col1.dbbackup-col2= "Backed Up"
th.settings-col1.dbbackup-col1= t 'database'
th.settings-col1.dbbackup-col2= t 'backed_up'
- @dbs.each_with_index do |db,index|
tr
td.db_title.dbbackup-col1 = App.where(:db_id=>db.id).first.name
- if @backup_updated[index]!=nil
td.last_update_at
span.backup_content = @backup_updated[index]
span.backup_content = time_ago_in_words(@backup_updated[index].localtime)+ " ago"
span.backup_content= link_to "", dbbackups_engine.backup_path(:db_id=>db.id),:method=>:post, :class=>"download_link"
- else
td.last_update_at.dbbackup-col2
Expand All @@ -21,4 +21,4 @@

- else
.no-users
h2= t('there_are_no_users')
h2= t('there_are_no_dbs')
3 changes: 3 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
'en':
# put here your string symbols and translations
hello_world: Hello World! (yay for the Amahi plugins!)
there_are_no_dbs : There are no databases available for any apps.
backed_up: Backed Up
database: Database

0 comments on commit c261815

Please sign in to comment.