File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 46
46
47
47
{% if craft .app .sites .getAllSites ()| length > 1 %}
48
48
{% for site in craft .app .sites .getAllSites () %}
49
- <li ><a href =" #" class =" doAi" data-hash =" {{ hash }}" data-prompt =" Translate to {{ site .language }}: " type =" button" role =" button" aria-label =" {{ ' Übersetzen zu {language}' | t(' chatgpt-integration' , params = {
49
+ <li ><a href =" #" class =" doAi" data-hash =" {{ hash }}" data-prompt =" Translate to {{ site .language }}: " type =" button" role =" button" aria-label =" {{ ' Translate to {language}' | t(' chatgpt-integration' , params = {
50
50
language : site .language
51
- } ) }}" >{{ ' Übersetzen zu {language}' | t(' chatgpt-integration' , params = {
51
+ } ) }}" >{{ ' Translate to {language}' | t(' chatgpt-integration' , params = {
52
52
language : site .language
53
53
} ) }}</a ></li >
54
54
{% endfor %}
Original file line number Diff line number Diff line change 6
6
7
7
{% set crumbs = [
8
8
{ label : craft .chatgptIntegration .getPluginName | t(' chatgpt-integration' ), url : url(' chatgpt-integration' ) },
9
- { label : ' Prompts' | t(' chatgpt-integration' ), url : url(' chatgpt-integration/promts ' ) },
9
+ { label : ' Prompts' | t(' chatgpt-integration' ), url : url(' chatgpt-integration/prompts ' ) },
10
10
{ label : ' New' | t(' chatgpt-integration' ), url : url(' chatgpt-integration/prompts/new' ) },
11
11
] %}
12
12
Original file line number Diff line number Diff line change 7
7
8
8
{% set crumbs = [
9
9
{ label : craft .chatgptIntegration .getPluginName , url : url(' chatgpt-integration' ) },
10
- { label : ' Prompts' | t(' chatgpt-integration' ), url : url(' chatgpt-integration/groups ' ) },
10
+ { label : ' Prompts' | t(' chatgpt-integration' ), url : url(' chatgpt-integration/prompts ' ) },
11
11
] %}
12
12
13
13
{% set prompts = craft .chatgptIntegration .getPrompts () %}
45
45
<td class =" id-column" >{{ prompt .id }}</td >
46
46
<td class =" label-column" ><a href =" {{ cpUrl(' chatgpt-integration/prompts/edit/' ~ prompt .id ) }}" >{{ prompt .label }}</a ></td >
47
47
<td class =" prompt-template-column" >{{ prompt .promptTemplate }}</td >
48
- <td class =" enabled-column" >{{ prompt .enabled }} </td >
48
+ <td class =" enabled-column" >< span class = " status {{ prompt .enabled ? ' live ' : ' disabled ' }} " role = " img " aria-label = " Status: Live " ></ span > </td >
49
49
<td class =" edit-column" ><a href =" {{ cpUrl(' chatgpt-integration/prompts/edit/' ~ prompt .id ) }}" class =" edit icon" title =" {{ ' Edit' | t(' app' ) }}" role =" button" ></a ></td >
50
50
<td class =" delete-column" ><a href =" {{ cpUrl(' chatgpt-integration/prompts/delete/' ~ prompt .id ) }}" class =" delete icon" title =" {{ ' Delete' | t(' app' ) }}" role =" button" ></a ></td >
51
51
</tr >
You can’t perform that action at this time.
0 commit comments