Ability to change dashboard title

28 views
Skip to first unread message

Ricardo Paiva

unread,
Apr 10, 2019, 7:24:18 PM4/10/19
to rails_admin
Is it possible to change dashboard title dynamically ? For example i want to display the user id in the dashboard title
The only way i saw to change title is by using the following code :
    dashboard do
      i18n_key :customized
    end   

but... this is kinda static... any ideas ? i tried this approach with i18n interpolation but it didn't worked 
       dashboard do
      i18n_key 'more', count: 5
    end 

missing interpolation argument :count in "Plus %{count}" ({:model_label=>nil, :model_label_plural=>nil, :object_label=>nil} given)



Any tip would be very helpful. 
Thanks
Reply all
Reply to author
Forward
0 new messages