diff --git a/app/models/writing_journal.rb b/app/models/writing_journal.rb
index 415198b..15cfde7 100644
--- a/app/models/writing_journal.rb
+++ b/app/models/writing_journal.rb
@@ -97,6 +97,8 @@ class WritingJournal
if !self.publication_date.nil?
pd = self.publication_date.strftime("%Y-%m-%d").split('-')
title << pd[0]
+ elsif !self.year.blank?
+ title << self.year
end
title << self.paper_title if self.paper_title.present?
title << self.journal_title if self.journal_title.present?
diff --git a/app/views/panel/personal_journal/plugin/_profile.html.erb b/app/views/panel/personal_journal/plugin/_profile.html.erb
index 9fa216d..25f1ee3 100644
--- a/app/views/panel/personal_journal/plugin/_profile.html.erb
+++ b/app/views/panel/personal_journal/plugin/_profile.html.erb
@@ -77,17 +77,16 @@
-<% if is_admin? %>
- <%= link_to content_tag(:i, nil, :class => 'icon-plus') + t('personal_plugins.edit_brief_intro'), panel_personal_journal_back_end_personal_journal_intros_path(:user_id => @user.id), :class => 'btn btn-primary' %>
- <%= link_to content_tag(:i, nil, :class => 'icon-plus') + t('announcement.add_new'), new_panel_personal_journal_back_end_writing_journal_path(:user_id => @user.id), :class => 'btn btn-primary' %>
+ <%= link_to content_tag(:i, nil, :class => 'icon-plus') + t('personal_plugins.sync_data'), admin_import_data_sync_journal_paper_data_path(:user_id => @user.id), :class => 'btn btn-primary' %>
+ <%= link_to content_tag(:i, nil, :class => 'icon-plus') + t('personal_plugins.edit_brief_intro'), panel_personal_journal_back_end_personal_journal_intros_path(:user_id => @user.id), :class => 'btn btn-primary' %>
+ <%= link_to content_tag(:i, nil, :class => 'icon-plus') + t('announcement.add_new'), new_panel_personal_journal_back_end_writing_journal_path(:user_id => @user.id), :class => 'btn btn-primary' %>
-<% end %>