small fixes incl. solr

This commit is contained in:
Andreas Stephanides
2017-04-18 19:03:09 +02:00
parent 28226df76c
commit 491e360141
8 changed files with 8 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ class Gremium < ActiveRecord::Base
# has_many :members, through: :memberships # has_many :members, through: :memberships
searchable do searchable do
text :desc text :desc
text :name, :boost=>4.0 text :name
end end
belongs_to :thema # Gehört zu einem Thema belongs_to :thema # Gehört zu einem Thema

View File

@@ -186,6 +186,6 @@ class Neuigkeit < ActiveRecord::Base
searchable do searchable do
text :text text :text
text :datum text :datum
text :title, :boost=>3.0 text :title
end end
end end

View File

@@ -42,7 +42,7 @@ end
searchable do searchable do
text :desc text :desc
text :name, :boost=>4.0 text :name
end end
end end

View File

@@ -47,7 +47,7 @@ class Thema < ActiveRecord::Base
# make topic searchable # make topic searchable
searchable do searchable do
text :text text :text
text :title, :boost=>4.0 text :title
end end
resourcify resourcify

View File

@@ -40,7 +40,7 @@ end
searchable do searchable do
text :text text :text
text :title, :boost=>4.0 text :title
end end
end end

View File

@@ -9,7 +9,7 @@
<div class="content-wrap content-column" style="max-width:90em;"> <div class="content-wrap content-column" style="max-width:90em;">
<h1><%= I18n.t('home.willkommen') %></h1> <h1><%= I18n.t('home.willkommen') %></h1>
<%= raw(@starttopic.text) %> <%= raw(@starttopic.text) unless @starttopic.nil? %>
<div class="container-fluid"> <div class="container-fluid">

View File

@@ -16,6 +16,7 @@ de:
savecont: "Zwischenspeichern" savecont: "Zwischenspeichern"
intern: "Intern" intern: "Intern"
manage: "Verwalten" manage: "Verwalten"
new: "Neu"
home: home:
sprache: "Deutsch" sprache: "Deutsch"
kontakt: "Kontakt" kontakt: "Kontakt"

View File

@@ -6,6 +6,7 @@ de:
active_members: "Aktive Mitglieder" active_members: "Aktive Mitglieder"
notactive_members: "Pension" notactive_members: "Pension"
new_profile: "Neues Profil anlegen" new_profile: "Neues Profil anlegen"
new: "Neues Profil anlegen"
gremium: gremium:
new: "Neues Gremium" new: "Neues Gremium"
seit: "seit" seit: "seit"