{% load i18n %}
<h1 class="title">{% trans "Extensions media directory changes" %}</h1>
<div class="main">
 <p>
{% blocktrans %}
  Your site's extensions media directory isn't properly set up. This directory
  is where Review Board will store various extension media files.
{% endblocktrans %}
 </p>
 <p>
{% blocktrans %}
  Your extensions media directory is currently at: <tt>{{ext_dir}}</tt>
{% endblocktrans %}
 </p>

{% if not writable and ext_dir != "" %}
 <h3>{% trans "Permission problems" %}</h3>
 <p>
{% blocktrans %}
  The directory must be writable by the web server. On Linux/Unix/Mac,
  you can fix this by typing:
{% endblocktrans %}
 </p>
<pre>
    $ sudo chown -R {{server_user}} "{{ext_dir}}"
</pre>
 <p>
{% blocktrans %}
  On Windows, right-click the data directory and change the ownership to
  <tt>{{server_user}}</tt>.
{% endblocktrans %}
 </p>
{% endif %}
</div>
