removed dependence on having a sample map by adding empty text ("shucks")
This commit is contained in:
parent
c9d0ea889c
commit
4787ca23c5
1 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
<% if @map %>
|
||||||
<div class="focus">
|
<div class="focus">
|
||||||
<div class="focusleft">
|
<div class="focusleft">
|
||||||
<p># of Topics: <%= @map.items.count %></p>
|
<p># of Topics: <%= @map.items.count %></p>
|
||||||
|
@ -31,4 +32,8 @@
|
||||||
initFD();
|
initFD();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<% else %>
|
||||||
|
<h1><br>Shucks, there are no maps.<h1>
|
||||||
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue