diff --git a/plugins/mezuro/lib/mezuro_plugin/project_content.rb b/plugins/mezuro/lib/mezuro_plugin/project_content.rb index 6ca5472..51a05a5 100644 --- a/plugins/mezuro/lib/mezuro_plugin/project_content.rb +++ b/plugins/mezuro/lib/mezuro_plugin/project_content.rb @@ -50,6 +50,7 @@ class MezuroPlugin::ProjectContent < Article private + #FIXME def validate_kalibro_project_name begin Kalibro::Client::ProjectClient.project(name) diff --git a/plugins/mezuro/views/content_viewer/show_project.rhtml b/plugins/mezuro/views/content_viewer/show_project.rhtml index 046e635..bca2d98 100644 --- a/plugins/mezuro/views/content_viewer/show_project.rhtml +++ b/plugins/mezuro/views/content_viewer/show_project.rhtml @@ -1,6 +1,12 @@ <% @project = @page.project %> +<% if (@project==nil) %> +
This project doesn't exist on the Web Service. Do you want to delete or save it again?
+<% else %> + +<%= _('Name') %> | @@ -43,4 +49,5 @@