<%=link_to_function(tr("clear history"), "clearApiHistory()")%>
<%=tr("API Call History")%>
<% if @api_history.empty? %>
<%=tr("None found")%>
<% else %>
<% @api_history.reverse.each_with_index do |hc, index| %> " onClick='callHistoricApi(<%=@api_history.size - 1 - index%>)'> <% end %>
<%=tr("Path")%> <%=tr("Method")%> <%=tr("Params")%>
http://<%=Platform::Config.api_base_url%><%=hc["path"]%> <%=hc["method"]%> <%=hc["params"].to_json%>
<% end %>