Skip to content

Instantly share code, notes, and snippets.

Avatar

Michał Łazowik mlazowik

View GitHub Profile
View VAGRANT_LOG=info vagrant ssh-config
INFO global: Vagrant version: 2.2.3
INFO global: Ruby version: 2.4.4
INFO global: RubyGems version: 2.6.14.1
INFO global: VAGRANT_LOG="info"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.3/gems/vagrant-2.2.3/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_INSTALLER_ENV="1"
WARN global: resolv replacement has not been enabled!
INFO manager: Registered plugin: NFS synced folders
@mlazowik
mlazowik / reported.html
Last active Apr 10, 2018
non-trivial blocktrans
View reported.html
<span class="text-danger">
{% if is_admin and post.reported_by %}
{% full_name post.reported_by as reporter_link %}
{% blocktrans trimmed %}
This post was reported by {{ reporter_link }}
{% endblocktrans %}
{% else %}
{% trans "This post was reported" %}
{% endif %}
</span>