17 lines
670 B
Plaintext
17 lines
670 B
Plaintext
|
<html lang="<%= I18n.locale.to_s%>">
|
||
|
<head>
|
||
|
<title><%=@filename%></title>
|
||
|
<link href="/assets/archive/download_file.css" rel="stylesheet" media="all">
|
||
|
</head>
|
||
|
<body style="background: #fff;">
|
||
|
<div class="wrap_block">
|
||
|
<h1 style="display: none;"><%=@filename%></h1>
|
||
|
<% download_text = t('download') + " " + @filename %>
|
||
|
<h2 align="center"><a href="<%=@url%>" target="blank" download="<%=@filename%>" title="<%=download_text%>"><%=download_text%></a></h2>
|
||
|
<p align="center">
|
||
|
<a href="javascript:window.close();" title="<%=t('close')%>"><%=t('close')%></a>
|
||
|
</p>
|
||
|
</div>
|
||
|
<script>window.location.href="<%=@url%>";</script>
|
||
|
</body>
|
||
|
</html>
|