This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useEffect } from "react"; | |
import { | |
Select, | |
useAppMetafields, | |
BlockStack, | |
useApplyAttributeChange, | |
useTranslate, | |
TextField, | |
useExtensionCapability, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { getIDFromGID, camelToSpace } from "../../../helpers/helper.jsx"; | |
import { | |
BlockLayout, | |
Text, | |
useAppMetafields, | |
useCustomer, | |
Heading, | |
InlineLayout, | |
useTranslate, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %} | |
Based on the data in the quote metafield and the cart | |
Returns one of the following [states](https://app.shortcut.com/medaire-online/write/IkRvYyI6I3V1aWQgIjYzNDQyYTFkLWMzODItNGUxYi05MDkxLWFiODc4ZWM1M2Y4NyI=) | |
{% endcomment %} | |
{% liquid | |
assign state = 'quote_not_present' | |
assign quote = customer.metafields.quote.data.value | |
assign cart_uploaded_at = cart.attributes['Quote Uploaded At'] | plus: 0 | |
assign uploaded_at = quote.uploaded_at | plus: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin test($color, $size) { | |
color: $color; | |
size: $size; | |
} | |
.test { | |
@include test(red, 16px); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: remadeagency | |
recipe: wordpress | |
config: | |
webroot: . | |
events: | |
post-db-import: | |
# Set PROD_URL and DEV_URL values in .env file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<root available-locales="en_GB" default-locale="en_GB"> | |
<dynamic-element dataType="string" indexType="" multiple="false" name="Date_Style" readOnly="false" repeatable="false" required="false" showLabel="true" type="select" width=""> | |
<dynamic-element name="optionycmh" type="option" value="1"> | |
<meta-data locale="en_GB"> | |
<entry name="label"> | |
<![CDATA[Start date]]> | |
</entry> | |
</meta-data> | |
</dynamic-element> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="tabs"> | |
<ul> | |
#if (($welcome.data != "") || ($ambassadors.data !="") || ($social-media-name.data !="")) | |
<li> | |
<a href="#welcome">Welcome</a> | |
</li> | |
#end | |
#if ($visit.data != "") | |
<li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form id="contact-drop"> | |
<select name="titles"> | |
#foreach ($cur_title1 in $title.getSiblings()) | |
#set ($item-title1 = $cur_title1.getData()) | |
<option value="$velocityCount" data-contact="$velocityCount">$item-title1</option> | |
#end | |
</select> | |
</form> | |
#if (!$title.getSiblings().isEmpty()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
/*Get the query string so we can pass it as the input value, to save the user from typing it twice*/ | |
$(document).ready(function() { | |
function gup( name ) | |
{ | |
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); | |
var regexS = "[\\?&]"+name+"=([^&#]*)"; | |
var regex = new RegExp( regexS ); | |
var results = regex.exec( window.location.href ); | |
if( results == null ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#if entries?has_content> | |
<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] /> | |
<table class="pgrList table table-striped table-bordered table-hover"> | |
<thead> | |
<tr> | |
<th>Title</th> | |
<th>Primary Supervisor</th> | |
<th>Application Deadline</th> |