mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	Add new config variable and rename opaque_domain -> nopaque_domain
This commit is contained in:
		@@ -185,7 +185,11 @@
 | 
			
		||||
      <div class="footer-copyright">
 | 
			
		||||
        <div class="container">
 | 
			
		||||
          © 2020 Bielefeld University
 | 
			
		||||
          <a class="btn-small right waves-effect waves-light" href="https://gitlab.ub.uni-bielefeld.de/sfb1288inf/opaque"><img src="{{ url_for('static', filename='images/gitlab-icon-1-color-white-rgb.png') }}" style="float: left; height: 24px; margin-top: 4.2px;">GitLab</a>
 | 
			
		||||
          <div class="right right-align">
 | 
			
		||||
            <a class="btn-small pink waves-effect waves-light" href="mailto:{{ config.NOPAQUE_CONTACT }}?subject={{ config.NOPAQUE_MAIL_SUBJECT_PREFIX }} Contact"><i class="left material-icons">rate_review</i>Contact</a>
 | 
			
		||||
            <a class="btn-small green waves-effect waves-light" href=""><i class="left material-icons">feedback</i>Feedback</a>
 | 
			
		||||
            <a class="btn-small orange waves-effect waves-light" href="https://gitlab.ub.uni-bielefeld.de/sfb1288inf/opaque"><img src="{{ url_for('static', filename='images/gitlab-icon-1-color-white-rgb.png') }}" style="float: left; height: 24px; margin-right: 10px; margin-top: 4.2px;">GitLab</a>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </footer>
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,7 @@ class Config:
 | 
			
		||||
 | 
			
		||||
    ''' ### nopaque ### '''
 | 
			
		||||
    NOPAQUE_ADMIN = os.environ.get('NOPAQUE_ADMIN')
 | 
			
		||||
    NOPAQUE_CONTACT = os.environ.get('NOPAQUE_CONTACT')
 | 
			
		||||
    NOPAQUE_MAIL_SENDER = os.environ.get('NOPAQUE_MAIL_SENDER')
 | 
			
		||||
    NOPAQUE_MAIL_SUBJECT_PREFIX = '[nopaque]'
 | 
			
		||||
    NOPAQUE_STORAGE = os.environ.get('NOPAQUE_STORAGE')
 | 
			
		||||
 
 | 
			
		||||
@@ -23,10 +23,9 @@ MAIL_USE_TLS=
 | 
			
		||||
MAIL_USERNAME=
 | 
			
		||||
MAIL_PASSWORD=
 | 
			
		||||
 | 
			
		||||
### Opaque Notifications ###
 | 
			
		||||
OPAQUE_DOMAIN=
 | 
			
		||||
 | 
			
		||||
### nopaque ###
 | 
			
		||||
NOPAQUE_ADMIN=
 | 
			
		||||
NOPAQUE_CONTACT=
 | 
			
		||||
OPAQUE_DOMAIN=
 | 
			
		||||
NOPAQUE_MAIL_SENDER=
 | 
			
		||||
NOPAQUE_STORAGE=
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user