Navigation Menu

Skip to content

Commit

Permalink
small follow up fixes to last patchset
Browse files Browse the repository at this point in the history
  • Loading branch information
movitto committed Jan 9, 2013
1 parent 13c61e2 commit e14842d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
13 changes: 7 additions & 6 deletions app/views/fedorarpms/show.html.haml
@@ -1,5 +1,6 @@
%h1= link_to @rpm.name, @rpm.homepage if @rpm.homepage != nil
%h2= "(%{rpm_summary})" % { :rpm_summary => @rpm.summary}
- unless @rpm.summary.blank?
%h2= "(%{rpm_summary})" % { :rpm_summary => @rpm.summary}
%h2
= link_to _('Source Code URI'), @rpm.source_uri if @rpm.source_uri != nil
= "|"
Expand Down Expand Up @@ -36,10 +37,10 @@
%td= @rpm.ruby_gem.version
%div.row
%div.span6
- if @dependents.blank?
%label= _('No dependents')
- if @dependencies.blank?
%label= _('No dependencies')
- else
%label= _('Dependents:')
%label= _('Dependencies:')

%table.table.table-striped.table-condensed.dependency
%thead
Expand All @@ -60,9 +61,9 @@
%td= d.ruby_gem.version
%div.span6
- if @dependents.blank?
%label= _('No depedencies')
%label= _('No dependents')
- else
%label= _('Depedencies:')
%label= _('Dependents:')

%table.table.table-striped.table-condensed.dependency
%thead
Expand Down
4 changes: 3 additions & 1 deletion db/schema.rb
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20121212173207) do
ActiveRecord::Schema.define(:version => 20130103111220) do

create_table "bugs", :force => true do |t|
t.string "name"
Expand Down Expand Up @@ -56,6 +56,8 @@
t.integer "ruby_gem_id"
t.integer "commits"
t.string "fedora_user"
t.string "summary"
t.string "description"
end

create_table "gem_comments", :force => true do |t|
Expand Down
3 changes: 3 additions & 0 deletions locale/app.pot
Expand Up @@ -325,6 +325,9 @@ msgstr ""
msgid "For more info, please check out the <a href=http://github.com/zuhao/isitfedoraruby>code</a> or visit the <a href=https://fedoraproject.org/wiki/Ruby_SIG>Ruby SIG</a> wiki page."
msgstr ""

msgid "Silk Icons by <a href=http://www.famfamfam.com/lab/icons/silk/>famfamfam</a>"
msgstr ""

#.TRANSLATORS: This is a noun.
msgid "Comment"
msgstr ""
Expand Down

0 comments on commit e14842d

Please sign in to comment.