diff options
Diffstat (limited to 'web/views')
-rw-r--r-- | web/views/relation.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/views/relation.erb b/web/views/relation.erb index 0ed3dd9..089100c 100644 --- a/web/views/relation.erb +++ b/web/views/relation.erb @@ -39,8 +39,12 @@ </div> <div id="graph"> <h2><%= t.pages.relation.graph.title %></h2> +<% if @count_relation_roles > 0 %> <div class="canvas"> </div> +<% else %> + <p class="empty"><%= t.pages.relation.roles.no_roles_info %></p> +<% end %> </div> <div id="wiki"> <h2><%= t.pages.relation.wiki_pages.title %></h2> |