mirror of
https://github.com/kevachat/webapp.git
synced 2025-01-23 21:14:17 +00:00
replace static KevaChat string with .env app name
This commit is contained in:
parent
bdfc6420ae
commit
2554d2dd95
@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{% block head_title_content %}{{ 'KevaChat' | trans }}{% endblock %}</title>
|
||||
<title>{% block head_title_content %}{{ app.name }}{% endblock %}</title>
|
||||
<link rel="stylesheet" type="text/css" href="{{ url('room_index') }}css/default.css?{{ app.version }}"/>
|
||||
</head>
|
||||
<body data-mode="{% if request.get('mode') %}stream{% else %}webapp{% endif %}">
|
||||
|
@ -48,7 +48,7 @@
|
||||
{% endmacro %}
|
||||
{% from _self import recursive_post_tree %}
|
||||
{% extends 'default/layout.html.twig' %}
|
||||
{% block head_title_content %}{{ request.get('namespace') | keva_namespace_value }} - {{ 'KevaChat' | trans }}{% endblock %}
|
||||
{% block head_title_content %}{{ request.get('namespace') | keva_namespace_value }} - {{ app.name }}{% endblock %}
|
||||
{% block main_content %}
|
||||
{% if tree %}
|
||||
{{ recursive_post_tree(request.get('mode'), request.get('namespace'), tree) }}
|
||||
|
@ -2,7 +2,7 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<channel>
|
||||
<atom:link href="{{ url('room_namespace', { namespace : request.get('namespace'), _fragment : 'latest' }) }}" rel="self" type="application/rss+xml"></atom:link>
|
||||
<title>{{ request.get('namespace') | keva_namespace_value }} - {{ 'KevaChat' | trans }}</title>
|
||||
<title>{{ request.get('namespace') | keva_namespace_value }} - {{ app.name }}</title>
|
||||
<link>{{ url('room_namespace', { namespace : request.get('namespace'), _fragment : 'latest' }) }}</link>
|
||||
{% for post in feed %}
|
||||
<item>
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends 'default/layout.html.twig' %}
|
||||
{% block head_title_content %}{{ 'Rooms' | trans }} - {{ 'KevaChat' | trans }}{% endblock %}
|
||||
{% block head_title_content %}{{ 'Rooms' | trans }} - {{ app.name }}{% endblock %}
|
||||
{% block main_content %}
|
||||
{% if list | length %}
|
||||
<ul>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<channel>
|
||||
<atom:link href="{{ url('room_list') }}" rel="self" type="application/rss+xml"></atom:link>
|
||||
<title>{{ 'Rooms' | trans }} - {{ 'KevaChat' | trans }}</title>
|
||||
<title>{{ 'Rooms' | trans }} - {{ app.name }}</title>
|
||||
<link>{{ url('room_list') }}</link>
|
||||
{% for room in list %}
|
||||
<item>
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends 'default/layout.html.twig' %}
|
||||
{% block head_title_content %}{{ 'Join' | trans }} - {{ 'KevaChat' | trans }}{% endblock %}
|
||||
{% block head_title_content %}{{ 'Join' | trans }} - {{ app.name }}{% endblock %}
|
||||
{% block main_content %}
|
||||
<form name="join" action="{{ path('user_add') }}" method="post">
|
||||
{% if request.get('error') %}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends 'default/layout.html.twig' %}
|
||||
{% block head_title_content %}{{ 'Login' | trans }} - {{ 'KevaChat' | trans }}{% endblock %}
|
||||
{% block head_title_content %}{{ 'Login' | trans }} - {{ app.name }}{% endblock %}
|
||||
{% block main_content %}
|
||||
<form name="login" action="{{ path('user_auth') }}" method="post">
|
||||
{% if request.get('error') %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user