Changeset 11979 for main/waeup.ikoba


Ignore:
Timestamp:
17 Nov 2014, 12:26:33 (10 years ago)
Author:
Henrik Bettermann
Message:

Replace kofa by ikoba.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/pages.py

    r11977 r11979  
    274274                        self.request.principal.id]
    275275                    rel_link = '/customers/%s' % self.request.principal.id
     276                    # Maybe we need this in Ikoba too
    276277                    #if customer.personal_data_expired:
    277278                    #    rel_link = '/customers/%s/edit_personal' % (
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py

    r11977 r11979  
    206206    @action('Set password now', style='primary')
    207207    def setPassword(self, *args, **data):
    208         kofa_utils = getUtility(IIkobaUtils)
    209         password = kofa_utils.genPassword()
     208        ikoba_utils = getUtility(IIkobaUtils)
     209        password = ikoba_utils.genPassword()
    210210        self.context.setTempPassword(self.request.principal.id, password)
    211211        self.context.writeLogMessage(
     
    287287        usertype = getattr(self.request.principal,
    288288                           'user_type', 'system').title()
    289         kofa_utils = getUtility(IIkobaUtils)
    290         success = kofa_utils.sendContactForm(
     289        ikoba_utils = getUtility(IIkobaUtils)
     290        success = ikoba_utils.sendContactForm(
    291291                self.request.principal.title,email,
    292292                self.context.display_fullname,self.context.email,
     
    489489            return
    490490
    491         kofa_utils = getUtility(IIkobaUtils)
    492         password = kofa_utils.genPassword()
     491        ikoba_utils = getUtility(IIkobaUtils)
     492        password = ikoba_utils.genPassword()
    493493        mandate = PasswordMandate()
    494494        mandate.params['password'] = password
     
    501501        url_info = u'Confirmation link: %s' % mandate_url
    502502        msg = _('You have successfully requested a password for the')
    503         if kofa_utils.sendCredentials(IUserAccount(customer),
     503        if ikoba_utils.sendCredentials(IUserAccount(customer),
    504504            password, url_info, msg):
    505505            email_sent = customer.email
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/basemanagepage.pt

    r11971 r11979  
    11<form action="." tal:attributes="action request/URL" method="post"
    2       i18n:domain="waeup.kofa" enctype="multipart/form-data"
     2      i18n:domain="waeup.ikoba" enctype="multipart/form-data"
    33      autocomplete="off">
    44
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/changepassword.pt

    r11977 r11979  
    11<form action="." tal:attributes="action request/URL" method="post"
    2       i18n:domain="waeup.kofa" enctype="multipart/form-data">
     2      i18n:domain="waeup.ikoba" enctype="multipart/form-data">
    33
    44  <input type="hidden" name="customer_id" value=""
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/containermanagepage.pt

    r11958 r11979  
    1 <form method="POST" i18n:domain="waeup.kofa" class="form-inline">
     1<form method="POST" i18n:domain="waeup.ikoba" class="form-inline">
    22<br />
    33  <div class="form-group">
     
    3131
    3232    <br /><br />
    33     <table class="kofa-data-table dataTableManage">
     33    <table class="ikoba-data-table dataTableManage">
    3434      <thead>
    3535        <tr>
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/containerpage.pt

    r11958 r11979  
    1 <form method="POST" i18n:domain="waeup.kofa" class="form-inline">
     1<form method="POST" i18n:domain="waeup.ikoba" class="form-inline">
    22<br />
    33  <div class="form-group">
     
    2929  <input type="hidden" name="old_searchtype"
    3030       tal:attributes="value view/searchtype" />
    31   <table class="kofa-data-table dataTable">
     31  <table class="ikoba-data-table dataTable">
    3232    <thead>
    3333    <tr>
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/imageupload.pt

    r11971 r11979  
    1 <tr i18n:domain="waeup.kofa">
     1<tr i18n:domain="waeup.ikoba">
    22  <td class="fieldname">
    33    <span tal:replace="viewlet/label">FILENAME</span>:
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/loginasstep1.pt

    r11967 r11979  
    1 <form i18n:domain="waeup.kofa" method="post">
     1<form i18n:domain="waeup.ikoba" method="post">
    22  <p i18n:translate="login_as_intro_1">
    33    Kofa is creating a temporary customer password which will replace the
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/requestpw.pt

    r11967 r11979  
    11<form action="." tal:attributes="action request/URL" method="post"
    2     i18n:domain="waeup.kofa" enctype="multipart/form-data">
     2    i18n:domain="waeup.ikoba" enctype="multipart/form-data">
    33
    44  <table class="form-table">
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/requestpwmailsent.pt

    r11967 r11979  
    1 <tal:only_email condition = "not: view/password" i18n:domain="waeup.kofa">
     1<tal:only_email condition = "not: view/password" i18n:domain="waeup.ikoba">
    22  <p tal:condition = "view/email">
    33    <span i18n:translate=""> An email with your user name and password
     
    1717</tal:only_email>
    1818
    19 <tal:credentials condition = "view/password" i18n:domain="waeup.kofa">
     19<tal:credentials condition = "view/password" i18n:domain="waeup.ikoba">
    2020  <h3 i18n:translate="">Your login credentials are:</h3>
    2121  <table class="bordered-table span6">
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/viewlets.py

    r11977 r11979  
    127127        url = self.view.url(self.context.customer, self.link)
    128128        # Here we know that the cookie has been set
    129         lang = self.request.cookies.get('kofa.language')
    130         text = translate(self.text, 'waeup.kofa',
     129        lang = self.request.cookies.get('ikoba.language')
     130        text = translate(self.text, 'waeup.ikoba',
    131131            target_language=lang)
    132132        if not self.link:
Note: See TracChangeset for help on using the changeset viewer.