Commit 595fbb0b89312442450dd84b09465d25f998777c
1 parent
d4933c60
Exists in
master
and in
29 other branches
ActionItem866: small enhancements
* Adding profile's name on EnterpriseHomepage name * fix: don't expand variables when editing header/footer Conflicts: app/models/profile.rb Original work by: Daniela Soares Feitosa <danielafeitosa@colivre.coop.br>
Showing
2 changed files
with
8 additions
and
0 deletions
Show diff stats
app/models/enterprise_homepage.rb
... | ... | @@ -8,6 +8,10 @@ class EnterpriseHomepage < Article |
8 | 8 | _('Display the summary of profile.') |
9 | 9 | end |
10 | 10 | |
11 | + def name | |
12 | + profile.nil? ? _('Homepage') : profile.name | |
13 | + end | |
14 | + | |
11 | 15 | # FIXME isn't this too much including just to be able to generate some HTML? |
12 | 16 | include ActionView::Helpers::TagHelper |
13 | 17 | include ActionView::Helpers::UrlHelper | ... | ... |