]> git.ipfire.org Git - ipfire.org.git/commitdiff
Rename talk modules
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Oct 2018 16:21:40 +0000 (17:21 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Oct 2018 16:21:40 +0000 (17:21 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/people/calls.html
src/templates/people/index.html
src/templates/people/registrations.html
src/templates/people/search.html
src/templates/people/users.html
src/web/__init__.py

index 6e1f259072bb7f040ec410c9eeb1e93bc3d4c60c..0045adf8688d74b41df0d7ad4417a7cef98bcb9d 100644 (file)
@@ -32,7 +32,7 @@
                                </ul>
                        </nav>
 
-                       {% module TalkCDR(account, date=date) %}
+                       {% module CDR(account, date=date) %}
                </div>
        </div>
 {% end block %}
index f692ae6e5b792144b0f2d2c2b13baf48bf39b024..f0f9cdb2bc96da6128584d936c7936f86c1ccee7 100644 (file)
@@ -3,13 +3,13 @@
 {% block title %}{{ _("Home") }}{% end block %}
 
 {% block main %}
-       {% module TalkChannels(current_user) %}
+       {% module Channels(current_user) %}
 
        <div class="card">
                <div class="card-body">
                        <h4>{{ _("Your Recent Calls") }}</h4>
 
-                       {% module TalkCDR(current_user, limit=5) %}
+                       {% module CDR(current_user, limit=5) %}
                </div>
        </div>
 {% end block %}
index 98538d94797c69e497dfae336f1c9f6c27761ece..c87478ef48ba71b81e0c2743e3044dd299484ebd 100644 (file)
@@ -9,7 +9,7 @@
                 {{ _("Active Registrations for %s") % account }}
             </h6>
 
-            {% module TalkRegistrations(account) %}
+            {% module Registrations(account) %}
         </div>
     </div>
 {% end block %}
index 91b2e395b3b234111052531174465a829fdc9179..0eb017b73ced45df9353e98a83cb1467a485ba26 100644 (file)
@@ -6,7 +6,7 @@
        <h3 class="mb-4">{{ _("Search Results for \"%s\"") % q }}</h3>
 
        {% if accounts %}
-               {% module TalkAccountsList(accounts) %}
+               {% module AccountsList(accounts) %}
        {% else %}
                <p class="text-muted text-center my-5">
                        {{ _("There are no results for \"%s\"") % q }}
index f0a168e3c7722069ee4b8210a02c8553b5008780..af6d92b03bc3ecfa950d2753c1e7d341cdf42c1f 100644 (file)
@@ -5,5 +5,5 @@
 {% block main %}
        <h3 class="mb-4">{{ _("Users") }}</h3>
 
-       {% module TalkAccountsList() %}
+       {% module AccountsList() %}
 {% end block %}
index 807425ca3f7d6335d392f675e4d9f93b97406207..7e5953c5256deb872f2de8abb885e49cf1ed51ce 100644 (file)
@@ -57,10 +57,10 @@ class Application(tornado.web.Application):
                                "Map"                  : ui_modules.MapModule,
 
                                # Talk
-                               "TalkAccountsList"     : people.AccountsListModule,
-                               "TalkCDR"              : people.CDRModule,
-                               "TalkChannels"         : people.ChannelsModule,
-                               "TalkRegistrations"    : people.RegistrationsModule,
+                               "AccountsList"         : people.AccountsListModule,
+                               "CDR"                  : people.CDRModule,
+                               "Channels"             : people.ChannelsModule,
+                               "Registrations"        : people.RegistrationsModule,
 
                                # Old modules
                                "LanguageName"         : ui_modules.LanguageNameModule,