Permalink
Browse files

small follow up fixes to last patchset

  • Loading branch information...
1 parent 13c61e2 commit e14842d708a5fd7d1e7fcca5df1793eefa2edb31 @movitto movitto committed Jan 9, 2013
Showing with 13 additions and 7 deletions.
  1. +7 −6 app/views/fedorarpms/show.html.haml
  2. +3 −1 db/schema.rb
  3. +3 −0 locale/app.pot
@@ -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
= "|"
@@ -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
@@ -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
View
@@ -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"
@@ -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|
View
@@ -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 ""

0 comments on commit e14842d

Please sign in to comment.