Gitlab has been upgraded to v13.9 🎉. Enjoy

Commit 2fbbced4 authored by Ted Trask's avatar Ted Trask

Modify listtables HTML view to use dispatch_component for createdatabase action

parent c972d267
...@@ -58,9 +58,10 @@ formvalues.table = cfe({ type="hidden" }) ...@@ -58,9 +58,10 @@ formvalues.table = cfe({ type="hidden" })
</tr> </tr>
<% end %> <% end %>
</tbody></table> </tbody></table>
<% elseif viewlibrary.check_permission("createdatabase") then %>
<% htmlviewfunctions.displayitem(cfe({type="form", value={}, label="Create Database", option="Create", action="createdatabase" }), page_info, 0) %>
<% else %> <% else %>
<p>No tables found</p> <p>No tables found</p>
<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createdatabase") then
viewlibrary.dispatch_component("createdatabase")
end %>
<% end %> <% end %>
<% htmlviewfunctions.displaysectionend(header_level) %> <% htmlviewfunctions.displaysectionend(header_level) %>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment