~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to modules/stocks-form-settings.twig

  • Committer: Dan Garner
  • Date: 2015-08-11 09:29:02 UTC
  • mto: This revision was merged to the branch mainline in revision 453.
  • Revision ID: git-v1:a86fb4369b7395c13367577d23b14c0ab4528c1a
Transitions fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{#
2
 
/*
3
 
 * Spring Signage Ltd - http://www.springsignage.com
4
 
 * Copyright (C) 2015 Spring Signage Ltd
5
 
 * (${FILE_NAME})
6
 
 */
7
 
#}
8
 
 
9
 
{% extends "module-form-settings.twig" %}
10
 
{% import "forms.twig" as forms %}
11
 
 
12
 
{% block moduleFormFields %}
13
 
 
14
 
    {% set title %}{% trans "API Key" %}{% endset %}
15
 
    {% set helpText %}{% trans "Enter your API Key from Alpha Advantage: https://www.alphavantage.co/support/#api-key." %}{% endset %}
16
 
    {{ forms.input("apiKey", title, module.getSetting("apiKey"), helpText, "", "required") }}
17
 
 
18
 
    {% set title %}{% trans "Cache Period" %}{% endset %}
19
 
    {% set helpText %}{% trans "This module uses 3rd party data. Please enter the number of seconds you would like to cache results." %}{% endset %}
20
 
    {{ forms.input("cachePeriod", title, module.getSetting("cachePeriod", 3600), helpText, "", "required") }}
21
 
 
22
 
{% endblock %}
 
 
b'\\ No newline at end of file'